diff options
| author | Marius Nita <marius@cs.pdx.edu> | 2002-09-03 08:57:35 +0000 |
|---|---|---|
| committer | Marius Nita <marius@cs.pdx.edu> | 2002-09-03 08:57:35 +0000 |
| commit | 18f704edd0938355622049d853c1ce3cdfaee168 (patch) | |
| tree | 05a0ffff1be3a3287e63367d94ab5290c7710b07 /util/epist/epist.l | |
| parent | 37ccfef89546e38fe8c0ab1e039a8abdff8bd588 (diff) | |
better error reporting. epist now reports the line number and token a parser error occurs at, as well as invalid actions.
Diffstat (limited to 'util/epist/epist.l')
| -rw-r--r-- | util/epist/epist.l | 6 |
1 files changed, 5 insertions, 1 deletions
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 | |
