Mercurial > hg > Applications > Grep
comparison regexParser/regexParser.h @ 249:9493800265a8
remove SCValue(not all remove)
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 23 Jan 2016 12:34:50 +0900 |
parents | 2b1fbfb92d54 |
children | e22e3475f664 |
comparison
equal
deleted
inserted
replaced
248:2b1fbfb92d54 | 249:9493800265a8 |
---|---|
94 StatePtr stateEnd; | 94 StatePtr stateEnd; |
95 StatePtr *stateArray; | 95 StatePtr *stateArray; |
96 StatePtr stateList; | 96 StatePtr stateList; |
97 } TransitionGenerator, *TransitionGeneratorPtr; | 97 } TransitionGenerator, *TransitionGeneratorPtr; |
98 | 98 |
99 typedef struct buffer { | |
100 unsigned char *buff; | |
101 unsigned char *buffptr; | |
102 unsigned char *buffend; | |
103 unsigned char *matchBegin; | |
104 } Buffer, *BufferPtr; | |
105 | |
99 typedef struct tsValue { | 106 typedef struct tsValue { |
100 Buffer buff; | 107 Buffer buff; |
101 ResultPtr result; | 108 ResultPtr result; |
102 TransitionGeneratorPtr tg; | 109 TransitionGeneratorPtr tg; |
103 TState *current; | 110 TState *current; |
136 unsigned char tokenType; | 143 unsigned char tokenType; |
137 unsigned char *tokenValue; | 144 unsigned char *tokenValue; |
138 int stateNumber; | 145 int stateNumber; |
139 } RegexInfo, *RegexInfoPtr; | 146 } RegexInfo, *RegexInfoPtr; |
140 | 147 |
141 typedef struct buffer { | |
142 unsigned char *buff; | |
143 unsigned char *buffptr; | |
144 unsigned char *buffend; | |
145 unsigned char *matchBegin; | |
146 } Buffer, *BufferPtr; | |
147 | |
148 typedef struct { | 148 typedef struct { |
149 unsigned char* file_mmap; | 149 unsigned char* file_mmap; |
150 off_t size; | 150 off_t size; |
151 } st_mmap_t; | 151 } st_mmap_t; |
152 #endif | 152 #endif |