diff regexParser/grepWalk.cc @ 242:6aebc4d7dd75

fix condition generateSequentialSearch
author Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
date Thu, 21 Jan 2016 16:12:10 +0900
parents b809e7b62986
children e51cac73e42a
line wrap: on
line diff
--- a/regexParser/grepWalk.cc	Wed Jan 20 20:28:40 2016 +0900
+++ b/regexParser/grepWalk.cc	Thu Jan 21 16:12:10 2016 +0900
@@ -38,7 +38,7 @@
 
     if (found == false) {
         grepSkip(tg,buff);
-    } else if (found == true && (cc->nextState.bitContainer == 2)) { // Accept
+    } else if (found == true && (cc->nextState.bitContainer | 2)) { // Accept
         grepMatch(tg,buff);
     } else {
         grep(tg,buff,cc->nextState.bitContainer);