Mercurial > hg > Applications > Grep
view c/regexParser/regexParser.h @ 81:27883946b2dc
sort function
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 07 Oct 2015 16:47:03 +0900 |
parents | 7f53a587bf97 |
children | 5072a44ed842 |
line wrap: on
line source
typedef struct charClass { unsigned char table[256]; struct utf8Range { unsigned char *begin; unsigned char *end; struct utf8Range *next; } *rangeList; } CharClass, *CharClassPtr; typedef struct node { unsigned char type; union value { charClass cc; unsigned char character; } Value, *ValuePtr; struct node *self; struct node *parent; struct node *left; struct node *right; } Node, *NodePtr; typedef struct regexInfo { unsigned char *ptr; unsigned char tokenType; int tokenValue; } RegexInfo, *RegexInfoPtr;