mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 15:23:02 +00:00
lalr1.cc: don't generate location.hh when location_type is defined
* data/bison.m4 (b4_percent_define_get): Accept a default value. * data/c++.m4: Do not provide a default value for the %define variable location_type, rather, use b4_percent_define_get with a default argument where its value is needed. * data/lalr1.cc: Do not load location.cc (which outputs both location.hh and position.hh) if the user defined location_type. Do not include location.hh either.
This commit is contained in:
11
ChangeLog
11
ChangeLog
@@ -1,3 +1,14 @@
|
||||
2010-05-04 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
lalr1.cc: don't generate location.hh when location_type is defined
|
||||
* data/bison.m4 (b4_percent_define_get): Accept a default value.
|
||||
* data/c++.m4: Do not provide a default value for the %define
|
||||
variable location_type, rather, use b4_percent_define_get with a
|
||||
default argument where its value is needed.
|
||||
* data/lalr1.cc: Do not load location.cc (which outputs both
|
||||
location.hh and position.hh) if the user defined location_type.
|
||||
Do not include location.hh either.
|
||||
|
||||
2010-05-04 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
lalr1.cc: minor refactoring.
|
||||
|
||||
Reference in New Issue
Block a user