X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/fc5618b3387fb1311c9d88187655191088f09cc2..32288c8cbd309b29dff45e81d78374a5eb9c006e:/src/scan-skel.l diff --git a/src/scan-skel.l b/src/scan-skel.l index c3844f13..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; } @@ -247,7 +247,7 @@ at_output (int argc, char *argv[], char **out_namep, int *out_linenop) *out_linenop = 1; } - static void +static void fail_for_at_directive_too_few_args (char const *at_directive_name) { complain (NULL, fatal, _("too few arguments for %s directive in skeleton"),