Pass the token type to yysyntax_error.
commit84eedf86fefd2496f288e72731bd0586e0b216f3
authorAkim Demaille <demaille@gostai.com>
Thu, 11 Dec 2008 08:48:49 +0000 (11 09:48 +0100)
committerAkim Demaille <demaille@gostai.com>
Thu, 11 Dec 2008 09:47:14 +0000 (11 10:47 +0100)
treed5e399d71a7035d03ad3b5aa952d5689e27a8931
parent5860cc8c1c8b67d7af455f7f0fe9e9e1464366b3
Pass the token type to yysyntax_error.

* data/yacc.c (yysyntax_error): Take the transated token instead
of the raw number.
Adjust callers.
* TODO: Update.
ChangeLog
TODO
data/yacc.c