[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
yyfprintf request
From: |
Tys Lefering |
Subject: |
yyfprintf request |
Date: |
Tue, 24 May 2011 03:02:09 +0200 |
Hello,
Can you update the YYFPRINTF macro use to be
everywhere "YYFPRINTF (stderr, format, args)"
as is mentioned in the manual ?
Now it is:
YYFPRINTF (stderr, "\n");
But would like:
YYFPRINTF (stderr, "%s", "\n");
Then it has always at least 3 args,
file-stream, format-string and var-args.
http://www.gnu.org/software/bison/manual/bison.html#Tracing
The trace facility outputs messages with macro calls of the form
YYFPRINTF (stderr, format, args) where format and args are the usual
printf format and variadic arguments.
Only at a few places:
c.m4: YYFPRINTF (yyoutput, ": ");
c.m4: YYFPRINTF (yyoutput, ")");
glr.c: YYFPRINTF (stderr, "\n"); \
glr.c: YYFPRINTF (stderr, "\n");
glr.c: YYFPRINTF (stderr, " (unresolved)");
glr.c: YYFPRINTF (stderr, "\n");
glr.c: YYFPRINTF (stderr, "Ambiguity detected.\n");
glr.c: YYFPRINTF (stderr, "Option 1,\n");
glr.c: YYFPRINTF (stderr, "\nOption 2,\n");
glr.c: YYFPRINTF (stderr, "\n");
glr.c: YYFPRINTF (stderr, " -> ");
glr.c: YYFPRINTF (stderr, "<null>");
glr.c: YYFPRINTF (stderr, "\n");
glr.c: YYFPRINTF (stderr, "\n");
glr.c: YYFPRINTF (stderr, "Tops:");
glr.c: YYFPRINTF (stderr, "\n"); \
yacc.c: YYFPRINTF (stderr, "\n");
\
yacc.c: YYFPRINTF (stderr, "Stack now");
yacc.c: YYFPRINTF (stderr, "\n");
yacc.c: YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
yacc.c: YYFPRINTF (stderr, "\n");
yacc.c: YYFPRINTF (stderr, "LAC: initial context discarded due
to " \
yacc.c: YYFPRINTF (stderr, "No expected tokens.\n");
- yyfprintf request,
Tys Lefering <=