]> git.saurik.com Git - bison.git/blobdiff - src/output.c
Have Bison grammars parsed by a Bison grammar.
[bison.git] / src / output.c
index 02dfdb68c3c4511e9c605ff8daff66d17c4262ad..5645e8cdcd9f69efc9bf2af152a38b349f625e12 100644 (file)
@@ -548,12 +548,8 @@ actions_output (FILE *out)
                   rules[rule].action_line,
                   quotearg_style (c_quoting_style,
                                   muscle_find ("filename")));
-       /* As a Bison extension, add the ending semicolon.  Since some
-          Yacc don't do that, help people using bison as a Yacc
-          finding their missing semicolons.  */
-       fprintf (out, "{ %s%s }\n    break;\n\n",
-                rules[rule].action,
-                yacc_flag ? ";" : "");
+       fprintf (out, "    %s\n    break;\n\n",
+                rules[rule].action);
       }
 }