From 18f704edd0938355622049d853c1ce3cdfaee168 Mon Sep 17 00:00:00 2001 From: Marius Nita Date: Tue, 3 Sep 2002 08:57:35 +0000 Subject: better error reporting. epist now reports the line number and token a parser error occurs at, as well as invalid actions. --- util/epist/epist.l | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'util/epist/epist.l') diff --git a/util/epist/epist.l b/util/epist/epist.l index c3db54b8..6c7e08a5 100644 --- a/util/epist/epist.l +++ b/util/epist/epist.l @@ -8,9 +8,11 @@ #include "yacc_parser.hh" extern YYSTYPE yylval; - + %} +%option yylineno + %% \{ return OBRACE; @@ -27,6 +29,8 @@ Mod3 | mod3 | Mod4 | mod4 | +Mod5 | +mod5 | Control | control | shift | -- cgit v1.2.3