Mercurial > hg > Applications > Grep
comparison regexParser/regexParser.h @ 180:d97bcab546e8 pairPro
implement getNext
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 24 Dec 2015 17:56:28 +0900 |
parents | 5e8c6857934c |
children | 7ae0a3070647 |
comparison
equal
deleted
inserted
replaced
179:6cf8252f3912 | 180:d97bcab546e8 |
---|---|
42 typedef struct regexInfo { | 42 typedef struct regexInfo { |
43 unsigned char *ptr; | 43 unsigned char *ptr; |
44 unsigned char tokenType; | 44 unsigned char tokenType; |
45 unsigned char *tokenValue; | 45 unsigned char *tokenValue; |
46 int stateNumber; | 46 int stateNumber; |
47 bool asterisk; | |
48 StatePtr current; | |
49 StatePtr states; | |
50 } RegexInfo, *RegexInfoPtr; | 47 } RegexInfo, *RegexInfoPtr; |
51 | 48 |
52 CharClassPtr createCharClassRange(unsigned long begin, unsigned long end, CharClassPtr left, CharClassPtr right); | 49 CharClassPtr createCharClassRange(unsigned long begin, unsigned long end, CharClassPtr left, CharClassPtr right); |