]> granicus.if.org Git - flex/commit
Improved M4 quotation
authorDemi Obenour <demiobenour@gmail.com>
Tue, 27 Sep 2016 14:54:16 +0000 (10:54 -0400)
committerWill Estes <westes575@gmail.com>
Thu, 20 Oct 2016 00:39:06 +0000 (20:39 -0400)
commit4bffa41e4ed434f1e2ba64ac5a8fe661fa089cfb
tree378e886700ac96e8c316f354f10e1e9a622144ea
parent7dcb10c048744192ab873ee10fb6a5d8b1640434
Improved M4 quotation

This fixes M4 quotation of certain strings beginning with `yy` (in
section 3 of the input file only) and character literals.  The new
quotation method is also less brittle and faster.

Tests that relied on the old behavior were fixed.

Also, `yyconst` is no longer defined; use `const` (which it
unconditionally was defined to) instead.
src/dfa.c
src/gen.c
src/main.c
src/nfa.c
src/parse.y
src/scan.l
tests/bison_yylval_scanner.l
tests/include_by_push.direct.l