Mercurial > hg > Applications > Grep
comparison c/regexParser/createRegexParser.cc @ 99:1e5b56e8263b impl-bitvector
remove some variable
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 10 Nov 2015 20:57:59 +0900 |
parents | 0b6940588e88 |
children | 3eb3cb5d581f |
comparison
equal
deleted
inserted
replaced
98:d0d2262d4edf | 99:1e5b56e8263b |
---|---|
21 n->self = n; | 21 n->self = n; |
22 n->Value.character = character; | 22 n->Value.character = character; |
23 n->left = left; | 23 n->left = left; |
24 n->right = right; | 24 n->right = right; |
25 | 25 |
26 if (ri->tokenType != 'a') { | 26 if (ri->tokenType == '*') { |
27 n->left->parent = n->self; | |
28 } else if (ri->tokenType != 'a') { | |
27 n->right = right; | 29 n->right = right; |
28 n->left->parent = n->right->parent = n->self; | 30 n->left->parent = n->right->parent = n->self; |
29 } | 31 } |
30 | 32 |
31 if (ri->tokenType == 'a') { | 33 if (ri->tokenType == 'a') { |