X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=dfa%2Freadfile.c;h=f0e4aeda626ee3e03bb4e207603d672eb96f3e80;hb=1b29b77f09ae310c41f9cd0a6eeea2d562b7729e;hp=cd3f6e4c4f9c026f0170b74aae6cb1600b115189;hpb=ead74d0c3b9d76204494553c61854812eb69bbc7;p=idzebra-moved-to-github.git diff --git a/dfa/readfile.c b/dfa/readfile.c index cd3f6e4..f0e4aed 100644 --- a/dfa/readfile.c +++ b/dfa/readfile.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: readfile.c,v $ - * Revision 1.1 1994-09-26 10:16:56 adam + * Revision 1.2 1994-09-26 16:30:57 adam + * Minor changes. imalloc uses xmalloc now. + * + * Revision 1.1 1994/09/26 10:16:56 adam * First version of dfa module in alex. This version uses yacc to parse * regular expressions. This should be hand-made instead. * @@ -35,7 +38,7 @@ static void read_tail (void); static char - *read_line (); + *read_line (void); static void prep (char **s) { @@ -96,9 +99,9 @@ static void read_rules (DFA **dfap) prep( &s ); /* now parse regular expression */ if (ccluse) - i = parse_dfa( dfa, &s, ccl_chars ); + i = parse_dfa( dfa, &s, dfa_ccl_chars ); else - i = parse_dfa( dfa, &s, thompson_chars ); + i = parse_dfa( dfa, &s, dfa_thompson_chars ); if( dfa->rule > 1 ) fputs( "\t\tYY_BREAK\n", outf );