Mercurial > hg > Applications > Grep
comparison regexParser/CeriumGrep.cc @ 268:0e423d9f9647
remove error (remain 1 warning(no use variable))
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 29 Jan 2016 16:06:11 +0900 |
parents | 5d4afe6f6d00 |
children | 3a95be4a5bb0 |
comparison
equal
deleted
inserted
replaced
267:5d4afe6f6d00 | 268:0e423d9f9647 |
---|---|
6 #include "subsetConstruction.h" | 6 #include "subsetConstruction.h" |
7 #include "node.h" | 7 #include "node.h" |
8 #include "grepWalk.h" | 8 #include "grepWalk.h" |
9 #include "fileread.h" | 9 #include "fileread.h" |
10 #include "threadedSearch.h" | 10 #include "threadedSearch.h" |
11 | |
12 void createAllPossibleState(TransitionGeneratorPtr tg) { | |
13 return; | |
14 } | |
15 | 11 |
16 Search grep(int argc,char **argv,bool parallel) | 12 Search grep(int argc,char **argv,bool parallel) |
17 { | 13 { |
18 bool generate = true; | 14 bool generate = true; |
19 bool subset = false; | 15 bool subset = false; |
71 if (ts) threadedSearch(tgv.tg,buff); | 67 if (ts) threadedSearch(tgv.tg,buff); |
72 else grepWalk(tgv.tg,buff); | 68 else grepWalk(tgv.tg,buff); |
73 close(fd); | 69 close(fd); |
74 } | 70 } |
75 | 71 |
76 if (parallel) { | |
77 createAllPossibleState(tgv.tg); | |
78 } | |
79 | |
80 s.tg = tgv.tg; | 72 s.tg = tgv.tg; |
81 return s; | 73 return s; |
82 } | 74 } |