X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=dfa%2Fdfap.h;h=6265962489d54f49e0b3e20a35c9d1b0d9a6591d;hp=b158d8412faf00f5ae86b54ce1dab484a0256fbf;hb=de50782bd265b584f1e7c14f5376a499dedea780;hpb=4461019c0de49358856cb1c84ca162395b247f16 diff --git a/dfa/dfap.h b/dfa/dfap.h index b158d84..6265962 100644 --- a/dfa/dfap.h +++ b/dfa/dfap.h @@ -4,7 +4,14 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: dfap.h,v $ - * Revision 1.2 1995-01-25 11:30:50 adam + * Revision 1.4 1996-06-04 10:20:03 adam + * Added support for character mapping. + * + * Revision 1.3 1996/01/08 09:09:19 adam + * Function dfa_parse got 'const' string argument. + * New functions to define char mappings made public. + * + * Revision 1.2 1995/01/25 11:30:50 adam * Simple error reporting when parsing regular expressions. * Memory usage reduced. * @@ -29,6 +36,9 @@ struct DFA_parse { int max_Tnode; /* allocated Tnodes */ struct Tblock *start; /* start block of Tnodes */ struct Tblock *end; /* end block of Tnodes */ + int *charMap; + int charMapSize; + char **(*cmap)(const char **from, int len); }; typedef struct DFA_stateb_ {