]> git.saurik.com Git - bison.git/blobdiff - src/scan-gram.l
Fix bug that mistakes braced code in a declaration in the rules section
[bison.git] / src / scan-gram.l
index 25796dbd429b586fe1d6ba0ffe0815b2a35d35a3..93b9288c80a8493acf97f643dac43ca7484a74e8 100644 (file)
@@ -243,8 +243,6 @@ splice       (\\[ \f\t\v]*\n)*
 
   /* Code in between braces.  */
   "{" {
-    if (current_rule && current_rule->action)
-      grammar_midrule_action ();
     STRING_GROW;
     braces_level = 0;
     code_start = loc->start;