]> git.saurik.com Git - bison.git/commit - tests/calc.at
c++: use YYRHSLOC.
authorAkim Demaille <demaille@gostai.com>
Sun, 9 May 2010 21:58:50 +0000 (23:58 +0200)
committerAkim Demaille <demaille@gostai.com>
Mon, 10 May 2010 07:59:11 +0000 (09:59 +0200)
commitbb9191dd311e4c6d80f8dd12c6a7ce9254404fbc
treee14f5c8024ee394a803f92148fcc7f290ebc1c59
parentf38ae16f37251a4e69beecf0e7bfd8830715eb47
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.
ChangeLog
NEWS
data/glr.cc
data/lalr1.cc
tests/calc.at