lalr1.cc: remove trailing comma from enumerator list.

* data/lalr1.cc (yy::parser): Here.  This suppresses a -pedantic
warning.
This commit is contained in:
Joel E. Denny
2011-08-21 17:35:26 -04:00
parent d63311dfb9
commit f3bd3f7876
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2011-08-21 Joel E. Denny <joeldenny@joeldenny.org>
lalr1.cc: remove trailing comma from enumerator list.
* data/lalr1.cc (yy::parser): Here. This suppresses a -pedantic
warning.
2011-08-21 Joel E. Denny <joeldenny@joeldenny.org>
tests: add -pedantic for --enable-gcc-warnings.

View File

@@ -336,7 +336,7 @@ b4_namespace_close])[
yyfinal_ = ]b4_final_state_number[, //< Termination state number.
yyterror_ = 1,
yyerrcode_ = 256,
yyntokens_ = ]b4_tokens_number[, //< Number of tokens.
yyntokens_ = ]b4_tokens_number[ //< Number of tokens.
};
]b4_parse_param_vars[