ossp-pkg/l2/l2_spec_parse.y 1.8 -> 1.9
--- l2_spec_parse.y 2002/07/30 19:08:25 1.8
+++ l2_spec_parse.y 2003/01/06 11:19:45 1.9
@@ -27,7 +27,7 @@
**
** l2_spec_parse.y: GNU Bison (Yacc-style) parser specification
**
-** ATTENTION: This requires GNU Bison 1.30 or newer!
+** ATTENTION: This requires GNU Bison 1.875 or newer!
*/
#include "l2.h" /* for l2_xxx() API */
@@ -49,7 +49,6 @@
#undef yyerror
#define yyerror(msg) \
l2_spec_error(CTX, L2_ERR_SYN, &yylloc, msg)
-#define YYERROR_VERBOSE
/* scanner state transition */
extern void l2_spec_scan_push(l2_spec_ctx_t *, const char *state);
@@ -57,6 +56,7 @@
%}
/* parser options */
+%error-verbose
%pure_parser
%locations
%defines
|
|