Mercurial > hg > Applications > Grep
diff c/regexParser/regexParser.h @ 129:b930be74a16e pairPro
remove word.h
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 01 Dec 2015 23:05:53 +0900 |
parents | 639b0b437ebf |
children | 7925e9abb078 |
line wrap: on
line diff
--- a/c/regexParser/regexParser.h Tue Dec 01 22:50:58 2015 +0900 +++ b/c/regexParser/regexParser.h Tue Dec 01 23:05:53 2015 +0900 @@ -1,8 +1,12 @@ -#include "word.h" #include "error.h" #define NEW(type) (type*)malloc(sizeof(type)) +typedef struct word { + unsigned char *word; + int length; +} Word, *WordPtr; + typedef struct utf8Range { unsigned char *begin; unsigned char *end; @@ -11,7 +15,6 @@ typedef union condition { RangeListPtr range; - unsigned char character; WordPtr w; } Condition, *ConditionList;