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.
This commit is contained in:
Akim Demaille
2008-12-11 09:48:49 +01:00
parent 5860cc8c1c
commit 84eedf86fe
3 changed files with 14 additions and 11 deletions

View File

@@ -1,3 +1,11 @@
2008-12-11 Akim Demaille <demaille@gostai.com>
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.
2008-12-11 Akim Demaille <demaille@gostai.com>
Formatting changes.