]> git.saurik.com Git - bison.git/commitdiff
skeletons: style changes
authorAkim Demaille <akim@lrde.epita.fr>
Mon, 30 Jul 2012 13:32:29 +0000 (15:32 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Tue, 31 Jul 2012 09:33:46 +0000 (11:33 +0200)
* data/glr.c, data/lalr1.cc: Use more consistent comments,
and YY_NULL declaration.

data/glr.c
data/lalr1.cc

index 935ee96a82fcbb016dc555638adcb25ff4202c86..6a12cfbd199703cb206c7aa473dd17454557ee3a 100644 (file)
@@ -214,13 +214,13 @@ b4_percent_code_get([[top]])[
 #define yynerrs ]b4_prefix[nerrs]b4_locations_if([[
 #define yylloc  ]b4_prefix[lloc]])])[
 
-/* Copy the first part of user declarations.  */
+/* First part of user declarations.  */
 ]b4_user_pre_prologue[
 
 ]b4_null_define[
 
 ]b4_defines_if([[#include "@basename(]b4_spec_defines_file[@)"]],
-              [b4_shared_declarations])[
+               [b4_shared_declarations])[
 
 /* Enabling verbose error messages.  */
 #ifdef YYERROR_VERBOSE
index f71be3f29a674310732bac658f7c275d94471733..3d6bdca915510f7cadd83792d6985be1bd275d44 100644 (file)
@@ -358,17 +358,17 @@ m4_if(b4_prefix, [yy], [],
 // Take the name prefix into account.
 #define yylex   b4_prefix[]lex])[
 
-/* First part of user declarations.  */
+// First part of user declarations.
 ]b4_user_pre_prologue[
 
+]b4_null_define[
+
 #include "@basename(]b4_spec_defines_file[@)"
 
 /* User implementation prologue.  */
 ]b4_user_post_prologue[
 ]b4_percent_code_get[
 
-]b4_null_define[
-
 #ifndef YY_
 # if defined YYENABLE_NLS && YYENABLE_NLS
 #  if ENABLE_NLS