Next round of lexer and parser refinements.
commita943280b29e4b66d2cfa62b8b71da67bf9016a81
authorWerner Lemberg <wl@gnu.org>
Mon, 8 Sep 2014 15:19:50 +0000 (8 17:19 +0200)
committerWerner Lemberg <wl@gnu.org>
Mon, 8 Sep 2014 15:19:50 +0000 (8 17:19 +0200)
tree02fa8e20aaa4ad8fcb8b858baa953b6b392d0827
parent4c2ce08acfb95bc76e054ee6787b1d16764522a5
Next round of lexer and parser refinements.

. Use new token `INTERNAL_FLEX_ERROR' for indicating a fatal flex error.

. Add setjmp call to `yylex'.

. Make flex set `context->error' only for fatal, internal errors.

. Provide own versions of `yyalloc' and `yyrealloc' to handle
  `context->error'.

. Update test programs.
lib/tadeltas.l
lib/tadeltas.y