More lexer and parser refinements.
commitdf992ac8695508ebbea15e92fa66cfb7e2107795
authorWerner Lemberg <wl@gnu.org>
Tue, 9 Sep 2014 08:02:09 +0000 (9 10:02 +0200)
committerWerner Lemberg <wl@gnu.org>
Tue, 9 Sep 2014 08:02:09 +0000 (9 10:02 +0200)
treefe8e3a77473c5463f107d6e1d1d9f25a33f36770
parent33c558ddb3927f9be1a58dfda69301145d0da27b
More lexer and parser refinements.

. Remove BAD_XXX tokens.  Reason is that otherwise we error messages like

    [...] expecting INTEGER or BAD_INTEGER [...]

  and of course we don't expect that the user enters a bad integer...
  Instead, set `context->error' in the lexer (again).

. Improve tracing and error message of invalid characters.
lib/tadeltas.l
lib/tadeltas.y