mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-10-18 13:43:27 +00:00
c++: improve typing
* data/skeletons/lalr1.cc (yysyntax_error_): symbol_type::type_get returns a symbol_number_type (which is indeed an int).
This commit is contained in:
1 parent
a4bf7cdf9e
commit
6a61b6b17e
1 file changed
+1
-1
@@ -1330,7 +1330,7 @@ b4_error_verbose_if([state_type yystate, const symbol_type& yyla],
|
||||
*/
|
||||
if (!yyla.empty ())
|
||||
{
|
||||
int yytoken = yyla.type_get ();
|
||||
symbol_number_type yytoken = yyla.type_get ();
|
||||
yyarg[yycount++] = yytname_[yytoken];]b4_lac_if([[
|
||||
|
||||
#if ]b4_api_PREFIX[DEBUG
|
||||
|
||||
Reference in new issue
Block a user