Mercurial > hg > Applications > Grep
comparison regexParser/node.cc @ 195:4fefd80c05f2 pairPro
change variable name (TGValue tg -> TGValue tgv)
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 26 Dec 2015 13:48:12 +0900 |
parents | ecf70fb215a5 |
children | b7b8f0c03fe3 |
comparison
equal
deleted
inserted
replaced
194:b9db09ff630f | 195:4fefd80c05f2 |
---|---|
31 if (n->tokenType == 'a') { | 31 if (n->tokenType == 'a') { |
32 printf("%*c",d*4, ' '); | 32 printf("%*c",d*4, ' '); |
33 for (int i = 0; i < n->cc->cond.w.length; i++) { | 33 for (int i = 0; i < n->cc->cond.w.length; i++) { |
34 putchar(n->cc->cond.w.word[i]); | 34 putchar(n->cc->cond.w.word[i]); |
35 } | 35 } |
36 printf("(%d)\n",n->stateNum); | 36 printf("(%ld)\n",n->state->bitState.bitContainer); |
37 } else if (n->tokenType == 'c') { | 37 } else if (n->tokenType == 'c') { |
38 printCharacterClass(n->cc,n->stateNum,d); | 38 printCharacterClass(n->cc,n->stateNum,d); |
39 } else if (n->tokenType == 'a') { | 39 } else if (n->tokenType == 'a') { |
40 printf("%*c%c(%d)\n",d*4, ' ',n->tokenType,n->stateNum); | 40 printf("%*c%c(%d)\n",d*4, ' ',n->tokenType,n->stateNum); |
41 } else { | 41 } else { |