* data/c.m4 (b4_yydestruct_generate, b4_yy_symbol_print_generate):
Rename as...
(b4_yydestruct_define, b4_yy_symbol_print_define): these, for consistency.
* data/glr.c, data/glr.cc, data/yacc.c: Adjust.
-# b4_yydestruct_generate
-# ----------------------
+# b4_yydestruct_define
+# --------------------
# Define the "yydestruct" function.
# Define the "yydestruct" function.
-m4_define_default([b4_yydestruct_generate],
+m4_define_default([b4_yydestruct_define],
[[/*-----------------------------------------------.
| Release the memory associated to this symbol. |
`-----------------------------------------------*/
[[/*-----------------------------------------------.
| Release the memory associated to this symbol. |
`-----------------------------------------------*/
-# b4_yy_symbol_print_generate
-# ---------------------------
+# b4_yy_symbol_print_define
+# -------------------------
# Define the "yy_symbol_print" function.
# Define the "yy_symbol_print" function.
-m4_define_default([b4_yy_symbol_print_generate],
+m4_define_default([b4_yy_symbol_print_define],
[[
/*--------------------------------.
| Print this symbol on YYOUTPUT. |
[[
/*--------------------------------.
| Print this symbol on YYOUTPUT. |
YYFPRINTF Args; \
} while (YYID (0))
YYFPRINTF Args; \
} while (YYID (0))
-]b4_yy_symbol_print_generate[
+]b4_yy_symbol_print_define[
# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \
do { \
# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \
do { \
/* Bison grammar-table manipulation. */
/* Bison grammar-table manipulation. */
-]b4_yydestruct_generate[
/** Number of symbols composing the right hand side of rule #RULE. */
static inline int
/** Number of symbols composing the right hand side of rule #RULE. */
static inline int
m4_define([b4_parse_param_orig], m4_defn([b4_parse_param]))
m4_define([b4_parse_param_orig], m4_defn([b4_parse_param]))
-# b4_yy_symbol_print_generate
+# b4_yy_symbol_print_define
# ---------------------------
# Bypass the default implementation to generate the "yy_symbol_print"
# and "yy_symbol_value_print" functions.
# ---------------------------
# Bypass the default implementation to generate the "yy_symbol_print"
# and "yy_symbol_value_print" functions.
-m4_define([b4_yy_symbol_print_generate],
+m4_define([b4_yy_symbol_print_define],
[[
/*--------------------.
| Print this symbol. |
[[
/*--------------------.
| Print this symbol. |
-]b4_yy_symbol_print_generate[
+]b4_yy_symbol_print_define[
/*------------------------------------------------------------------.
| yy_stack_print -- Print the state stack from its BOTTOM up to its |
/*------------------------------------------------------------------.
| yy_stack_print -- Print the state stack from its BOTTOM up to its |
}
#endif /* YYERROR_VERBOSE */
}
#endif /* YYERROR_VERBOSE */
-]b4_yydestruct_generate[