X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/56f0d1d187733e2b04c68591f4d6f66443c7dd37..ed91d427fe80ea2c5991c8862b0145613b9a0650:/src/scan-skel.l?ds=sidebyside diff --git a/src/scan-skel.l b/src/scan-skel.l index c5b46eb4..a0d9c9e9 100644 --- a/src/scan-skel.l +++ b/src/scan-skel.l @@ -186,7 +186,7 @@ flag (const char *arg) else if (STREQ (arg, "fatal")) return fatal; else if (STREQ (arg, "note")) - return silent; + return silent | complaint; else if (STREQ (arg, "warn")) return Wother; else @@ -226,7 +226,7 @@ at_complain (int argc, char *argv[], char **out_namep, int *out_linenop) indent += SUB_INDENT; else indent = 0; - complain_args (locp, w, &indent, argc - 3, argv + 3); + complain_args (locp, w, &indent, argc - 4, argv + 4); if (w & silent) indent -= SUB_INDENT; }