* data/lalr1.cc (YYLLOC_DEFAULT): Fix its definition: be based on

Location as is defined.
This commit is contained in:
Akim Demaille
2003-02-04 21:05:03 +00:00
parent fc049e9caf
commit 43a176ef35
2 changed files with 6 additions and 2 deletions

View File

@@ -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