X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=dfa%2Freadfile.c;h=7983ca6aa235ebbafd76661018f1d59db03defdb;hb=4461019c0de49358856cb1c84ca162395b247f16;hp=4fd9cc9cc30f4cb2e151a5512878cb7b3d64aa20;hpb=2368d4bf1b93eaa6c65e7a7a678e290154a75efd;p=idzebra-moved-to-github.git diff --git a/dfa/readfile.c b/dfa/readfile.c index 4fd9cc9..7983ca6 100644 --- a/dfa/readfile.c +++ b/dfa/readfile.c @@ -4,7 +4,11 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: readfile.c,v $ - * Revision 1.3 1995-01-24 16:00:22 adam + * Revision 1.4 1995-01-25 11:30:51 adam + * Simple error reporting when parsing regular expressions. + * Memory usage reduced. + * + * Revision 1.3 1995/01/24 16:00:22 adam * Added -ansi to CFLAGS. * Some changes to the dfa module. * @@ -104,6 +108,7 @@ static void read_rules (struct DFA *dfa) { fprintf (stderr, "%s #%d: regular expression syntax error\n", inf_name, line_no); + assert (0); err_no++; } else