From 43a176ef35ada4924a0c35f0da8aacb5919d6937 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Tue, 4 Feb 2003 21:05:03 +0000 Subject: [PATCH] * data/lalr1.cc (YYLLOC_DEFAULT): Fix its definition: be based on Location as is defined. --- ChangeLog | 5 +++++ data/lalr1.cc | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c87436c5..f3ac0153 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-02-04 Akim Demaille + + * data/lalr1.cc (YYLLOC_DEFAULT): Fix its definition: be based on + Location as is defined. + 2003-02-04 Akim Demaille * data/lalr1.cc: If YYDEBUG is not defined, don't depend upon diff --git a/data/lalr1.cc b/data/lalr1.cc index c0403fbc..eb4376c0 100644 --- a/data/lalr1.cc +++ b/data/lalr1.cc @@ -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 -- 2.45.2