]> git.saurik.com Git - bison.git/commit - data/lalr1.cc
lalr1.cc: location.hh and position.hh are not generated without %defines
authorAkim Demaille <akim@lrde.epita.fr>
Mon, 30 Jul 2012 14:37:02 +0000 (16:37 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Tue, 31 Jul 2012 09:33:46 +0000 (11:33 +0200)
commit93549bcd43da0b9d0b756876008bd388828e5a08
treef03e804c9292cb982a03a3d8b474a9919dca9f7e
parent85f0b29e6d2d1c8a49df9f378e2979c043a47827
lalr1.cc: location.hh and position.hh are not generated without %defines

* data/location.cc (b4_position_define, b4_location_define): New.
(location.hh, position.hh): Generate only if %defines.
* data/lalr1.cc: therefore, define these classes when locations are
needed, but headers are not generated.
* tests/output.at: Check that these files are not generated.
* NEWS: Document.
NEWS
TODO
data/lalr1.cc
data/location.cc
tests/output.at