mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-23 19:23:02 +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>
|
||||
|
||||
* data/lalr1.cc: If YYDEBUG is not defined, don't depend upon
|
||||
|
||||
@@ -140,8 +140,7 @@ b4_syncline([@oline@], [@ofile@])],
|
||||
b4_syncline([@oline@], [@ofile@])[
|
||||
#ifndef YYLLOC_DEFAULT
|
||||
# define YYLLOC_DEFAULT(Current, Rhs, N) \
|
||||
Current.last_line = Rhs[N].last_line; \
|
||||
Current.last_column = Rhs[N].last_column;
|
||||
Current.last = Rhs[N].last;
|
||||
#endif
|
||||
|
||||
namespace yy
|
||||
|
||||
Reference in New Issue
Block a user