From f3bd3f7876b4d4c6d22b9590e1a0938ad342c91f Mon Sep 17 00:00:00 2001 From: "Joel E. Denny" Date: Sun, 21 Aug 2011 17:35:26 -0400 Subject: [PATCH] lalr1.cc: remove trailing comma from enumerator list. * data/lalr1.cc (yy::parser): Here. This suppresses a -pedantic warning. --- ChangeLog | 6 ++++++ data/lalr1.cc | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ced339c8..76397fb1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-08-21 Joel E. Denny + + 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 tests: add -pedantic for --enable-gcc-warnings. diff --git a/data/lalr1.cc b/data/lalr1.cc index 37b91ed4..cb770252 100644 --- a/data/lalr1.cc +++ b/data/lalr1.cc @@ -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[ -- 2.45.2