]> git.saurik.com Git - bison.git/commitdiff
(YYLLOC_DEFAULT): Use GNU spacing conventions.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 20 Dec 2004 03:44:10 +0000 (03:44 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 20 Dec 2004 03:44:10 +0000 (03:44 +0000)
ChangeLog
data/glr.c
data/yacc.c

index 727be141faa0d25355c88ad5138872c1f547e360..02a722893917fd375db4376e358ddf3b910eaa82 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * data/glr.c (YYLLOC_DEFAULT): Use GNU spacing conventions.
+       * data/yacc.c (YYLLOC_DEFAULT): Likewise.
+
 2004-12-17  Paul Eggert  <eggert@cs.ucla.edu>
 
        Remove uses of 'short int' and 'unsigned short int'.  This raises
index bed1521455c0ac7fdcaf192f5b3841705d609296..97c43bc795d6e75e10673ddd487a57f687027fe4 100644 (file)
@@ -429,17 +429,17 @@ static const ]b4_int_type_for([b4_stos])[ yystos[] =
     do                                                                 \
       if (N)                                                           \
        {                                                               \
-         (Current).first_line   = YYRHSLOC(Rhs, 1).first_line;         \
-         (Current).first_column = YYRHSLOC(Rhs, 1).first_column;       \
-         (Current).last_line    = YYRHSLOC(Rhs, N).last_line;          \
-         (Current).last_column  = YYRHSLOC(Rhs, N).last_column;        \
+         (Current).first_line   = YYRHSLOC (Rhs, 1).first_line;        \
+         (Current).first_column = YYRHSLOC (Rhs, 1).first_column;      \
+         (Current).last_line    = YYRHSLOC (Rhs, N).last_line;         \
+         (Current).last_column  = YYRHSLOC (Rhs, N).last_column;       \
        }                                                               \
       else                                                             \
        {                                                               \
          (Current).first_line   = (Current).last_line   =              \
-           YYRHSLOC(Rhs, 0).last_line;                                 \
+           YYRHSLOC (Rhs, 0).last_line;                                \
          (Current).first_column = (Current).last_column =              \
-           YYRHSLOC(Rhs, 0).last_column;                               \
+           YYRHSLOC (Rhs, 0).last_column;                              \
        }                                                               \
     while (0)
 
index 5d9b8bd1c128b8ce7d6239aca5f09de6f27bc835..7a416b6115e351f8ea7331ddc638a7942b58c596 100644 (file)
@@ -515,17 +515,17 @@ while (0)
     do                                                                 \
       if (N)                                                           \
        {                                                               \
-         (Current).first_line   = YYRHSLOC(Rhs, 1).first_line;         \
-         (Current).first_column = YYRHSLOC(Rhs, 1).first_column;       \
-         (Current).last_line    = YYRHSLOC(Rhs, N).last_line;          \
-         (Current).last_column  = YYRHSLOC(Rhs, N).last_column;        \
+         (Current).first_line   = YYRHSLOC (Rhs, 1).first_line;        \
+         (Current).first_column = YYRHSLOC (Rhs, 1).first_column;      \
+         (Current).last_line    = YYRHSLOC (Rhs, N).last_line;         \
+         (Current).last_column  = YYRHSLOC (Rhs, N).last_column;       \
        }                                                               \
       else                                                             \
        {                                                               \
          (Current).first_line   = (Current).last_line   =              \
-           YYRHSLOC(Rhs, 0).last_line;                                 \
+           YYRHSLOC (Rhs, 0).last_line;                                \
          (Current).first_column = (Current).last_column =              \
-           YYRHSLOC(Rhs, 0).last_column;                               \
+           YYRHSLOC (Rhs, 0).last_column;                              \
        }                                                               \
     while (0)
 #endif