mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 00:33:03 +00:00
* data/lalr1.cc (YYLLOC_DEFAULT): Fix its definition: be based on
Location as is defined.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2003-02-04 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
|
* data/lalr1.cc (YYLLOC_DEFAULT): Fix its definition: be based on
|
||||||
|
Location as is defined.
|
||||||
|
|
||||||
2003-02-04 Akim Demaille <akim@epita.fr>
|
2003-02-04 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
* data/lalr1.cc: If YYDEBUG is not defined, don't depend upon
|
* data/lalr1.cc: If YYDEBUG is not defined, don't depend upon
|
||||||
|
|||||||
@@ -140,8 +140,7 @@ b4_syncline([@oline@], [@ofile@])],
|
|||||||
b4_syncline([@oline@], [@ofile@])[
|
b4_syncline([@oline@], [@ofile@])[
|
||||||
#ifndef YYLLOC_DEFAULT
|
#ifndef YYLLOC_DEFAULT
|
||||||
# define YYLLOC_DEFAULT(Current, Rhs, N) \
|
# define YYLLOC_DEFAULT(Current, Rhs, N) \
|
||||||
Current.last_line = Rhs[N].last_line; \
|
Current.last = Rhs[N].last;
|
||||||
Current.last_column = Rhs[N].last_column;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace yy
|
namespace yy
|
||||||
|
|||||||
Reference in New Issue
Block a user