]> git.saurik.com Git - bison.git/commit - data/lalr1.cc
* data/glr.c (yytnamerr): New function.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 21 Jul 2005 20:53:03 +0000 (20:53 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 21 Jul 2005 20:53:03 +0000 (20:53 +0000)
commit9e0876fb0cd09964f07046749a320855e78560ef
tree8422dbe2f60c48b575bdf451904624c6f70f85d5
parent49b1cf794d71aa23b7fab120e9817062ec29b177
* data/glr.c (yytnamerr): New function.
(yyreportSyntaxError): Use it to dequote most string literals.
* data/lalr1.c (yytname_): Renamed from yyname_, for compatibility
with other skeletons.  All uses changed.
(yytnameerr_): New function.
(yyreport_syntax_error): Use it to dequote most string literals.
* data/yacc.c (yytnamerr): New function.
(yyerrlab): Use it to decode most string literals.
* doc/bison.texinfo (Decl Summary, Calling Convention):
Clarify quoting convention of yytname.
* src/output.c (prepare_symbols): Quote all names.  This undoes
the 2005-04-17 change, which is now accomplished (mostly) via
changes in the parsers as described above.
* tests/regression.at (Token definitions, Web2c Actions):
Undo most 2005-04-17 change here, too.
data/glr.c
data/lalr1.cc
data/yacc.c
doc/bison.texinfo
src/output.c
tests/regression.at