diff regexParser/main.cc @ 180:d97bcab546e8 pairPro

implement getNext
author Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
date Thu, 24 Dec 2015 17:56:28 +0900
parents 5e8c6857934c
children ef798db705e9
line wrap: on
line diff
--- a/regexParser/main.cc	Wed Dec 23 19:44:48 2015 +0900
+++ b/regexParser/main.cc	Thu Dec 24 17:56:28 2015 +0900
@@ -10,14 +10,6 @@
 {
     RegexInfo ri;
     ri.stateNumber = 1;
-    ri.asterisk = false;
-    ri.current = NEW(State);
-    ri.current->bitState.bitContainer = 0
-    bitSet(ri.current->bitState,ri.stateNumber);
-    ri.current->next = NULL;
-    ri.current->cc = NULL;
-    ri.current->node = NULL;
-    ri.states = ri.current;
     for (int i = 1; i < argc; i++) {
         if (strcmp(argv[i],"-regex") == 0) {
             ri.ptr = (unsigned char*)argv[i+1]; i++;