]> git.saurik.com Git - bison.git/blobdiff - src/scan-code.l
As in semantic actions, make @$ in %initial-action, %destructor, and
[bison.git] / src / scan-code.l
index b54f4c9a2d1fbc8109eaf45dc2415221ab86208d..9e51401394fd2f8c32644d03c6832fd84437a4d8 100644 (file)
@@ -202,7 +202,10 @@ splice      (\\[ \f\t\v]*\n)*
     obstack_sgrow (&obstack_for_string, "]b4_dollar_dollar[");
     self->is_value_used = true;
   }
-  "@$"   obstack_sgrow (&obstack_for_string, "]b4_at_dollar[");
+  "@$" {
+    obstack_sgrow (&obstack_for_string, "]b4_at_dollar[");
+    locations_flag = true;
+  }
 }