From: Adam Dickmeiss Date: Wed, 25 Jan 1995 11:31:04 +0000 (+0000) Subject: Simple error reporting when parsing regular expressions. X-Git-Tag: ZEBRA.1.0~795 X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=commitdiff_plain;h=1500f5fe8c94909acf30d8a698636079b123e39a Simple error reporting when parsing regular expressions. --- diff --git a/include/dfa.h b/include/dfa.h index 55c7456..be34808 100644 --- a/include/dfa.h +++ b/include/dfa.h @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: dfa.h,v $ - * Revision 1.3 1995-01-24 16:01:30 adam + * Revision 1.4 1995-01-25 11:31:04 adam + * Simple error reporting when parsing regular expressions. + * + * Revision 1.3 1995/01/24 16:01:30 adam * Added -ansi to CFLAGS. * New functions and change of data structures. * @@ -64,4 +67,8 @@ extern int dfa_verbose; extern unsigned short dfa_thompson_chars[], dfa_ccl_chars[]; + +#define DFA_ERR_SYNTAX 1 +#define DFA_ERR_LP 2 +#define DFA_ERR_RP 3 #endif