From: Joel E. Denny Date: Sat, 18 Oct 2008 16:46:12 +0000 (-0400) Subject: Fix yyerror_range for user-defined location type in C++. X-Git-Tag: v2.4~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0f0e1ace602fd8ded2457b1ea4f73c8fb2bfc6cc;p=platform%2Fupstream%2Fbison.git Fix yyerror_range for user-defined location type in C++. Reported by Georg Sauthoff at . * data/lalr1.cc (parse): Change type of yyerror_range to location_type. * THANKS (Georg Sauthoff): Add. --- diff --git a/ChangeLog b/ChangeLog index 8512a97..e11cef1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2008-10-18 Joel E. Denny + Fix yyerror_range for user-defined location type in C++. Reported by + Georg Sauthoff at + . + * data/lalr1.cc (parse): Change type of yyerror_range to location_type. + * THANKS (Georg Sauthoff): Add. + +2008-10-18 Joel E. Denny + Update several administrative files mainly to facilitate releasing. * HACKING (Administrivia): Make the git-merge-changelog notes more helpful. diff --git a/THANKS b/THANKS index 7b16cf3..6785e2a 100644 --- a/THANKS +++ b/THANKS @@ -34,6 +34,7 @@ Fabrice Bauzac noon@cote-dazur.com Florian Krohm florian@edamail.fishkill.ibm.com Frank Heckenbach frank@g-n-u.de Frans Englich frans.englich@telia.com +Georg Sauthoff gsauthof@TechFak.Uni-Bielefeld.DE Goran Uddeborg goeran@uddeborg.se Guido Trentalancia trentalg@aston.ac.uk H. Merijn Brand h.m.brand@hccnet.nl diff --git a/data/lalr1.cc b/data/lalr1.cc index bc371dc..927466a 100644 --- a/data/lalr1.cc +++ b/data/lalr1.cc @@ -537,7 +537,7 @@ do { \ /// Location of the lookahead. location_type yylloc; /// The locations where the error started and ended. - location yyerror_range[2]; + location_type yyerror_range[2]; /// $$. semantic_type yyval;