]> git.saurik.com Git - bison.git/commit - data/yacc.c
* src/reader.h, src/reader.c (gram_error): ... can't get
authorAkim Demaille <akim@epita.fr>
Fri, 26 Jul 2002 06:25:35 +0000 (06:25 +0000)
committerAkim Demaille <akim@epita.fr>
Fri, 26 Jul 2002 06:25:35 +0000 (06:25 +0000)
commitfc5734fe23f35e5ce15f6b9c550115fb69113ea2
tree0845473ee9d093ad0c12defecc1ddf3da32069a2
parent3650b4b8dddf39f6d6f5b2514d1f036548c5fe2e
* src/reader.h, src/reader.c (gram_error): ... can't get
yycontrol without making too strong assumptions on the parser
itself.
* src/output.c (prepare_tokens): Use the real 0th value of
token_translations instead of `0'.
* src/parse-gram.y (yyerror): Don't rely on yycontrol being
visible here.
* data/yacc.c (yyreport_parse_error): Rename yylocation as yylloc
for the time being: %locations ought to provide it to yyerror.
ChangeLog
data/yacc.c
src/output.c
src/parse-gram.c
src/parse-gram.h
src/parse-gram.y
src/reader.h