]> git.saurik.com Git - bison.git/commitdiff
lalr1.cc: remove trailing comma from enumerator list.
authorJoel E. Denny <joeldenny@joeldenny.org>
Sun, 21 Aug 2011 21:35:26 +0000 (17:35 -0400)
committerJoel E. Denny <joeldenny@joeldenny.org>
Sun, 21 Aug 2011 21:35:26 +0000 (17:35 -0400)
* data/lalr1.cc (yy::parser): Here.  This suppresses a -pedantic
warning.

ChangeLog
data/lalr1.cc

index ced339c888548f8ce98990244934cb5d766c3485..76397fb1fe646cfdb2e0edb925c1f080a238b8ff 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 37b91ed429395d21914b50d365f36d95cd13af83..cb770252dd211b2f81d66ba1dfb0feb70be67ea4 100644 (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[