The point of this series is a one-liner (the fifth one below), which
results in this kind of diff:
switch (yykind)
{
- case 3: /* "string" */
+ case YYSYMBOL_STRING: /* "string" */
{ fputs (((*yyvaluep).STRING), yyo); }
break;
- case 4: /* "translatable string" */
+ case YYSYMBOL_TSTRING: /* "translatable string" */
{ fputs (((*yyvaluep).TSTRING), yyo); }
break;
Akim Demaille (6):
tests: show logs
m4: use m4_shift2 etc.
m4: simplify useless quotation
kinds: also define the possibly qualified symbol kinds
kinds: use the symbol kinds where applicable
regen
data/README.md | 24 +++--
data/skeletons/bison.m4 | 30 ++++---
data/skeletons/c++.m4 | 8 +-
data/skeletons/c.m4 | 4 +-
data/skeletons/d.m4 | 11 ++-
data/skeletons/glr.cc | 20 ++---
data/skeletons/java.m4 | 9 +-
data/skeletons/lalr1.cc | 29 +++---
data/skeletons/lalr1.d | 26 +++---
data/skeletons/lalr1.java | 44 +++++-----
examples/c/bistromathic/bistromathic.test | 6 +-
examples/test | 3 +-
src/parse-gram.c | 102 +++++++++++-----------
src/parse-gram.h | 2 +-
14 files changed, 177 insertions(+), 141 deletions(-)
--
2.26.2