mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
Formatting changes.
* data/glr.c: Formatting changes.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-12-11 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
Formatting changes.
|
||||
* data/glr.c: Formatting changes.
|
||||
|
||||
2008-12-11 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
Propagate i18n changes into glr.c.
|
||||
|
||||
37
data/glr.c
37
data/glr.c
@@ -500,9 +500,12 @@ static const int YYEMPTY = -2;
|
||||
|
||||
typedef enum { yyok, yyaccept, yyabort, yyerr } YYRESULTTAG;
|
||||
|
||||
#define YYCHK(YYE) \
|
||||
do { YYRESULTTAG yyflag = YYE; if (yyflag != yyok) return yyflag; } \
|
||||
while (YYID (0))
|
||||
#define YYCHK(YYE) \
|
||||
do { \
|
||||
YYRESULTTAG yyflag = YYE; \
|
||||
if (yyflag != yyok) \
|
||||
return yyflag; \
|
||||
} while (YYID (0))
|
||||
|
||||
#if YYDEBUG
|
||||
|
||||
@@ -511,23 +514,23 @@ typedef enum { yyok, yyaccept, yyabort, yyerr } YYRESULTTAG;
|
||||
# endif
|
||||
|
||||
# define YYDPRINTF(Args) \
|
||||
do { \
|
||||
if (yydebug) \
|
||||
YYFPRINTF Args; \
|
||||
} while (YYID (0))
|
||||
do { \
|
||||
if (yydebug) \
|
||||
YYFPRINTF Args; \
|
||||
} while (YYID (0))
|
||||
|
||||
]b4_yy_symbol_print_generate([b4_c_ansi_function_def])[
|
||||
|
||||
# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \
|
||||
do { \
|
||||
if (yydebug) \
|
||||
{ \
|
||||
YYFPRINTF (stderr, "%s ", Title); \
|
||||
yy_symbol_print (stderr, Type, \
|
||||
Value]b4_locations_if([, Location])[]b4_user_args[); \
|
||||
YYFPRINTF (stderr, "\n"); \
|
||||
} \
|
||||
} while (YYID (0))
|
||||
# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \
|
||||
do { \
|
||||
if (yydebug) \
|
||||
{ \
|
||||
YYFPRINTF (stderr, "%s ", Title); \
|
||||
yy_symbol_print (stderr, Type, \
|
||||
Value]b4_locations_if([, Location])[]b4_user_args[); \
|
||||
YYFPRINTF (stderr, "\n"); \
|
||||
} \
|
||||
} while (YYID (0))
|
||||
|
||||
/* Nonzero means print parse trace. It is left uninitialized so that
|
||||
multiple parsers can coexist. */
|
||||
|
||||
Reference in New Issue
Block a user