diff c/regexParser/createRegexTree.cc @ 87:aef2546cd130

fix
author Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
date Mon, 19 Oct 2015 20:10:42 +0900
parents 5072a44ed842
children 50a146c05192
line wrap: on
line diff
--- a/c/regexParser/createRegexTree.cc	Mon Oct 19 18:04:05 2015 +0900
+++ b/c/regexParser/createRegexTree.cc	Mon Oct 19 20:10:42 2015 +0900
@@ -40,7 +40,7 @@
 NodePtr literal(RegexInfoPtr ri) {
     unsigned char *top = ri->ptr;
     NodePtr n = createNode(ri->ptr[0],0,0);
-    token(ri);
+    ri->ptr++;
     return n;
 }