Mercurial > hg > Applications > Grep
diff 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 |
line wrap: on
line diff
--- a/regexParser/regexParser.h Fri Jan 22 20:09:42 2016 +0900 +++ b/regexParser/regexParser.h Sat Jan 23 12:34:50 2016 +0900 @@ -96,6 +96,13 @@ StatePtr stateList; } TransitionGenerator, *TransitionGeneratorPtr; +typedef struct buffer { + unsigned char *buff; + unsigned char *buffptr; + unsigned char *buffend; + unsigned char *matchBegin; +} Buffer, *BufferPtr; + typedef struct tsValue { Buffer buff; ResultPtr result; @@ -138,13 +145,6 @@ int stateNumber; } RegexInfo, *RegexInfoPtr; -typedef struct buffer { - unsigned char *buff; - unsigned char *buffptr; - unsigned char *buffend; - unsigned char *matchBegin; -} Buffer, *BufferPtr; - typedef struct { unsigned char* file_mmap; off_t size;