]> git.saurik.com Git - bison.git/commit
c++: use YYRHSLOC.
authorAkim Demaille <demaille@gostai.com>
Wed, 12 May 2010 05:27:13 +0000 (07:27 +0200)
committerAkim Demaille <demaille@gostai.com>
Wed, 12 May 2010 05:27:13 +0000 (07:27 +0200)
commite7bab2df968dd287d0a35a6c8a38569332af2ca2
tree19297820e58c0692706df62ff2c78cca2a7bc3bf
parentbaacae49710f69057b57bc8c731ba14899cf303c
c++: use YYRHSLOC.

* data/lalr1.cc (YYRHSLOC): New.
(YYLLOC_DEFAULT): Use it.
* data/glr.cc: If location_type was user defined, do not include
location.hh, and do not produce location.hh and position.hh.
* tests/calc.at (YYLLOC_DEFAULT): Use YYRHSLOC.
Check that glr.cc supports user defined location_type.
* NEWS: Document this.
(cherry picked from commit bb9191dd311e4c6d80f8dd12c6a7ce9254404fbc)

Conflicts:

ChangeLog
NEWS
data/lalr1.cc
tests/calc.at
ChangeLog
NEWS
data/glr.cc
data/lalr1.cc
tests/calc.at