mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
* data/lalr1.cc (YYLLOC_DEFAULT): Fix its definition: be based on
Location as is defined.
This commit is contained in:
@@ -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