diff c/regexParser/regexParser.h @ 89:50a146c05192

add NodeNumber in Regex Parser tree
author Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
date Fri, 23 Oct 2015 17:20:54 +0900
parents 5072a44ed842
children 912d7bd51f38
line wrap: on
line diff
--- a/c/regexParser/regexParser.h	Fri Oct 23 15:38:49 2015 +0900
+++ b/c/regexParser/regexParser.h	Fri Oct 23 17:20:54 2015 +0900
@@ -13,7 +13,8 @@
 } Word, *WordPtr;
 
 typedef struct node {
-    unsigned char type;
+    unsigned char tokenType;
+    int nodeNumber;
     union value {
         CharClassPtr cc;
         unsigned char character;