mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-07-23 16:40:33 +00:00
Fix yyerror_range for user-defined location type in C++.
Reported by Georg Sauthoff at <http://lists.gnu.org/archive/html/bug-bison/2008-08/msg00008.html>. * data/lalr1.cc (parse): Change type of yyerror_range to location_type. * THANKS (Georg Sauthoff): Add.
This commit is contained in:
@@ -1,3 +1,11 @@
|
|||||||
|
2008-10-18 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
Fix yyerror_range for user-defined location type in C++. Reported by
|
||||||
|
Georg Sauthoff at
|
||||||
|
<http://lists.gnu.org/archive/html/bug-bison/2008-08/msg00008.html>.
|
||||||
|
* data/lalr1.cc (parse): Change type of yyerror_range to location_type.
|
||||||
|
* THANKS (Georg Sauthoff): Add.
|
||||||
|
|
||||||
2008-10-18 Joel E. Denny <[email protected]>
|
2008-10-18 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
Update several administrative files mainly to facilitate releasing.
|
Update several administrative files mainly to facilitate releasing.
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ Fabrice Bauzac [email protected]
|
|||||||
Florian Krohm [email protected]
|
Florian Krohm [email protected]
|
||||||
Frank Heckenbach [email protected]
|
Frank Heckenbach [email protected]
|
||||||
Frans Englich [email protected]
|
Frans Englich [email protected]
|
||||||
|
Georg Sauthoff [email protected]
|
||||||
Goran Uddeborg [email protected]
|
Goran Uddeborg [email protected]
|
||||||
Guido Trentalancia [email protected]
|
Guido Trentalancia [email protected]
|
||||||
H. Merijn Brand [email protected]
|
H. Merijn Brand [email protected]
|
||||||
|
|||||||
+1
-1
@@ -537,7 +537,7 @@ do { \
|
|||||||
/// Location of the lookahead.
|
/// Location of the lookahead.
|
||||||
location_type yylloc;
|
location_type yylloc;
|
||||||
/// The locations where the error started and ended.
|
/// The locations where the error started and ended.
|
||||||
location yyerror_range[2];
|
location_type yyerror_range[2];
|
||||||
|
|
||||||
/// $$.
|
/// $$.
|
||||||
semantic_type yyval;
|
semantic_type yyval;
|
||||||
|
|||||||
Reference in New Issue
Block a user