1250 |
|
|
1251 |
|
|
1252 |
#if YYDEBUG |
#if YYDEBUG |
1253 |
/*---------------------------. |
/*-----------------------------. |
1254 |
| Print this symbol on OUT. | |
| Print this symbol on YYOUT. | |
1255 |
`---------------------------*/ |
`-----------------------------*/ |
1256 |
|
|
1257 |
m4_divert_push([KILL])# M4 code. |
m4_divert_push([KILL])# M4 code. |
1258 |
# b4_symbol_printer(SYMBOL-NUMBER, PRINTER, TYPE-NAME) |
# b4_symbol_printer(SYMBOL-NUMBER, PRINTER, TYPE-NAME) |
1270 |
|
|
1271 |
m4_divert_pop([KILL])dnl# End of M4 code. |
m4_divert_pop([KILL])dnl# End of M4 code. |
1272 |
static void |
static void |
1273 |
yysymprint (FILE* out, int yytype, |
yysymprint (FILE* yyout, int yytype, |
1274 |
YYSTYPE yyvalue[]b4_location_if([, YYLTYPE yylocation])) |
YYSTYPE yyvalue[]b4_location_if([, YYLTYPE yylocation])) |
1275 |
{ |
{ |
1276 |
if (yytype < YYNTOKENS) |
if (yytype < YYNTOKENS) |
1277 |
YYFPRINTF (out, "token %d (%s ", yytoknum[[yytype]], yytname[[yytype]]); |
YYFPRINTF (yyout, "token %s (", yytname[[yytype]]); |
1278 |
else |
else |
1279 |
YYFPRINTF (out, "nterm %s (", yytname[[yytype]]); |
YYFPRINTF (yyout, "nterm %s (", yytname[[yytype]]); |
1280 |
# ifdef YYPRINT |
# ifdef YYPRINT |
1281 |
YYPRINT (out, yytype, yyvalue); |
YYPRINT (yyout, yytype, yyvalue); |
1282 |
# else |
# else |
1283 |
switch (yytype) |
switch (yytype) |
1284 |
{ |
{ |
1287 |
break; |
break; |
1288 |
} |
} |
1289 |
# endif /* !defined YYPRINT. */ |
# endif /* !defined YYPRINT. */ |
1290 |
YYFPRINTF (out, ")"); |
YYFPRINTF (yyout, ")"); |
1291 |
} |
} |
1292 |
#endif /* YYDEBUG. */ |
#endif /* YYDEBUG. */ |
1293 |
|
|