]> git.saurik.com Git - bison.git/blobdiff - src/scan-code.l
diagnostics: factor and enhance messages about duplicate rule directives
[bison.git] / src / scan-code.l
index 7b1168d7394a05c0b4c84c574b73fdf5641c994e..562f03ccf20c5acd3866e50933708314706b917b 100644 (file)
@@ -229,7 +229,7 @@ ref      -?[0-9]+|{id}|"["{id}"]"|"$"
         complain_indent (loc, Wdeprecated, &indent,
                          _("a ';' might be needed at the end of action code"));
         indent += SUB_INDENT;
-        complain_indent (loc, Wdeprecated | silent, &indent,
+        complain_indent (loc, Wdeprecated | silent | no_caret, &indent,
                          _("future versions of Bison will not add the ';'"));
         obstack_1grow (&obstack_for_string, ';');
       }