mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
* data/c.m4 (b4_yysymprint_generate): Move the YYINPUT invocation
after the location.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2004-09-24 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* data/c.m4 (b4_yysymprint_generate): Move the YYINPUT invocation
|
||||
after the location.
|
||||
|
||||
2004-09-24 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* doc/bison.texinfo (Table of Symbols): Sort.
|
||||
|
||||
11
data/c.m4
11
data/c.m4
@@ -398,12 +398,7 @@ b4_location_if([ (void) yylocationp;
|
||||
])dnl
|
||||
[
|
||||
if (yytype < YYNTOKENS)
|
||||
{
|
||||
YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
|
||||
# ifdef YYPRINT
|
||||
YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
|
||||
# endif
|
||||
}
|
||||
YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
|
||||
else
|
||||
YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
|
||||
|
||||
@@ -411,6 +406,10 @@ b4_location_if([ (void) yylocationp;
|
||||
fprintf (yyoutput, ": ");
|
||||
])dnl
|
||||
[
|
||||
# ifdef YYPRINT
|
||||
if (yytype < YYNTOKENS)
|
||||
YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
|
||||
# endif
|
||||
switch (yytype)
|
||||
{
|
||||
]m4_map([b4_symbol_actions], m4_defn([b4_symbol_printers]))dnl
|
||||
|
||||
Reference in New Issue
Block a user