Mercurial > hg > Applications > Grep
comparison regexParser/regexParser.h @ 220:4dc8d327cc7d
subset construction worked
how to handle EOF?
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 02 Jan 2016 00:01:22 +0900 |
parents | 63e9224c7b2b |
children | 1a34e702776a |
comparison
equal
deleted
inserted
replaced
219:a8e477f1352d | 220:4dc8d327cc7d |
---|---|
64 StateStackPtr stack; | 64 StateStackPtr stack; |
65 StatePtr *stateArray; | 65 StatePtr *stateArray; |
66 StatePtr stateList; | 66 StatePtr stateList; |
67 } TransitionGenerator, *TransitionGeneratorPtr; | 67 } TransitionGenerator, *TransitionGeneratorPtr; |
68 | 68 |
69 // Value Container is passed directly in functions | |
70 // Don't use it's pointer | |
69 typedef struct scValue { | 71 typedef struct scValue { |
70 StatePtr stateTop; | 72 StatePtr stateTop; |
71 StatePtr stateEnd; | 73 StatePtr stateEnd; |
72 StatePtr *stateArray; | |
73 TransitionGeneratorPtr tg; | 74 TransitionGeneratorPtr tg; |
74 } SCValue, *SCValuePtr; | 75 } SCValue, *SCValuePtr; |
75 | 76 |
76 typedef struct tgValue { | 77 typedef struct tgValue { |
77 StatePtr asterisk; // last * state of the expression | 78 StatePtr asterisk; // last * state of the expression |