mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-19 09:13:04 +00:00
(YYLLOC_DEFAULT): Use GNU spacing conventions.
This commit is contained in:
@@ -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>
|
2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
|
||||||
|
|
||||||
Remove uses of 'short int' and 'unsigned short int'. This raises
|
Remove uses of 'short int' and 'unsigned short int'. This raises
|
||||||
|
|||||||
12
data/glr.c
12
data/glr.c
@@ -429,17 +429,17 @@ static const ]b4_int_type_for([b4_stos])[ yystos[] =
|
|||||||
do \
|
do \
|
||||||
if (N) \
|
if (N) \
|
||||||
{ \
|
{ \
|
||||||
(Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
|
(Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
|
||||||
(Current).first_column = YYRHSLOC(Rhs, 1).first_column; \
|
(Current).first_column = YYRHSLOC (Rhs, 1).first_column; \
|
||||||
(Current).last_line = YYRHSLOC(Rhs, N).last_line; \
|
(Current).last_line = YYRHSLOC (Rhs, N).last_line; \
|
||||||
(Current).last_column = YYRHSLOC(Rhs, N).last_column; \
|
(Current).last_column = YYRHSLOC (Rhs, N).last_column; \
|
||||||
} \
|
} \
|
||||||
else \
|
else \
|
||||||
{ \
|
{ \
|
||||||
(Current).first_line = (Current).last_line = \
|
(Current).first_line = (Current).last_line = \
|
||||||
YYRHSLOC(Rhs, 0).last_line; \
|
YYRHSLOC (Rhs, 0).last_line; \
|
||||||
(Current).first_column = (Current).last_column = \
|
(Current).first_column = (Current).last_column = \
|
||||||
YYRHSLOC(Rhs, 0).last_column; \
|
YYRHSLOC (Rhs, 0).last_column; \
|
||||||
} \
|
} \
|
||||||
while (0)
|
while (0)
|
||||||
|
|
||||||
|
|||||||
12
data/yacc.c
12
data/yacc.c
@@ -515,17 +515,17 @@ while (0)
|
|||||||
do \
|
do \
|
||||||
if (N) \
|
if (N) \
|
||||||
{ \
|
{ \
|
||||||
(Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
|
(Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
|
||||||
(Current).first_column = YYRHSLOC(Rhs, 1).first_column; \
|
(Current).first_column = YYRHSLOC (Rhs, 1).first_column; \
|
||||||
(Current).last_line = YYRHSLOC(Rhs, N).last_line; \
|
(Current).last_line = YYRHSLOC (Rhs, N).last_line; \
|
||||||
(Current).last_column = YYRHSLOC(Rhs, N).last_column; \
|
(Current).last_column = YYRHSLOC (Rhs, N).last_column; \
|
||||||
} \
|
} \
|
||||||
else \
|
else \
|
||||||
{ \
|
{ \
|
||||||
(Current).first_line = (Current).last_line = \
|
(Current).first_line = (Current).last_line = \
|
||||||
YYRHSLOC(Rhs, 0).last_line; \
|
YYRHSLOC (Rhs, 0).last_line; \
|
||||||
(Current).first_column = (Current).last_column = \
|
(Current).first_column = (Current).last_column = \
|
||||||
YYRHSLOC(Rhs, 0).last_column; \
|
YYRHSLOC (Rhs, 0).last_column; \
|
||||||
} \
|
} \
|
||||||
while (0)
|
while (0)
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user