Port small part of master's 8901f32e so future ports are easier.
authorJoel E. Denny <jdenny@clemson.edu>
Tue, 22 Dec 2009 20:44:29 +0000 (15:44 -0500)
committerJoel E. Denny <jdenny@clemson.edu>
Tue, 29 Dec 2009 21:01:45 +0000 (16:01 -0500)
commit1e05521d4f74fc6770dd55e81c2fdc84191adf7b
treeac61584bbbe86b8297e0dc7ccb9a6d9db5abdcd5
parent2728ac7ecd663c4a60f94fe7ab7679a9e83ebcd0
Port small part of master's 8901f32e so future ports are easier.

* data/lalr1.cc (yy::parser::yysyntax_error_): Always add second
argument, but name it in the function definition only when
verbose error messages are enabled and it'll thus be used.
(yy::parser::parse): Update use of yysyntax_error_.
ChangeLog
data/lalr1.cc