]> git.saurik.com Git - bison.git/commitdiff
skeletons: renamings after knr removal
authorAkim Demaille <akim@lrde.epita.fr>
Thu, 2 Aug 2012 13:13:00 +0000 (15:13 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Fri, 3 Aug 2012 08:33:39 +0000 (10:33 +0200)
* 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.

data/c.m4
data/glr.c
data/glr.cc
data/yacc.c

index 6133823d28ae07134cb92a426ec890d95abb4567..00209828c6d6df257aec43e0b75d5307e0b9d203 100644 (file)
--- a/data/c.m4
+++ b/data/c.m4
@@ -407,10 +407,10 @@ b4_syncline([@oline@], [@ofile@])
     break;])
 
 
-# b4_yydestruct_generate
-# ----------------------
+# b4_yydestruct_define
+# --------------------
 # Define the "yydestruct" function.
-m4_define_default([b4_yydestruct_generate],
+m4_define_default([b4_yydestruct_define],
 [[/*-----------------------------------------------.
 | Release the memory associated to this symbol.  |
 `-----------------------------------------------*/
@@ -439,10 +439,10 @@ m4_ifset([b4_parse_param], [, b4_parse_param]))[
 ])
 
 
-# b4_yy_symbol_print_generate
-# ---------------------------
+# b4_yy_symbol_print_define
+# -------------------------
 # 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.  |
index 511510d8ff5790699a982a30ad4da316dbacd7ee..18a1138057b68cfb6a50d8438492a52b4dd61719 100644 (file)
@@ -491,7 +491,7 @@ typedef enum { yyok, yyaccept, yyabort, yyerr } YYRESULTTAG;
       YYFPRINTF Args;                           \
   } while (YYID (0))
 
-]b4_yy_symbol_print_generate[
+]b4_yy_symbol_print_define[
 
 # define YY_SYMBOL_PRINT(Title, Type, Value, Location)                  \
   do {                                                                  \
@@ -872,7 +872,7 @@ yyuserMerge (int yyn, YYSTYPE* yy0, YYSTYPE* yy1)
 
                               /* Bison grammar-table manipulation.  */
 
-]b4_yydestruct_generate[
+]b4_yydestruct_define[
 
 /** Number of symbols composing the right hand side of rule #RULE.  */
 static inline int
index 8da5a99af562753a323346218a3dc6f816f89120..dae2f62f4716dc0d1d7d833764a76f926508c436 100644 (file)
@@ -61,11 +61,11 @@ m4_define([b4_parser_class_name],
 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.
-m4_define([b4_yy_symbol_print_generate],
+m4_define([b4_yy_symbol_print_define],
 [[
 /*--------------------.
 | Print this symbol.  |
index 0083ebed48fb9d4a3c7963b642b0bf169dcc53ba..76121f35cd8af551827b382ed3a26fec6d4580c7 100644 (file)
@@ -714,7 +714,7 @@ do {                                                                      \
     }                                                                     \
 } while (YYID (0))
 
-]b4_yy_symbol_print_generate[
+]b4_yy_symbol_print_define[
 
 /*------------------------------------------------------------------.
 | yy_stack_print -- Print the state stack from its BOTTOM up to its |
@@ -1284,7 +1284,7 @@ yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg,
 }
 #endif /* YYERROR_VERBOSE */
 
-]b4_yydestruct_generate[
+]b4_yydestruct_define[
 
 ]b4_pure_if([], [