* src/local.mk (BISON): New.
(YACC): Use it.
---
ChangeLog | 6 ++++++
src/local.mk | 3 ++-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 427b62d..7bf94c5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2009-04-06 Akim Demaille <[email protected]>
+ Makefile: introduce $(BISON).
+ * src/local.mk (BISON): New.
+ (YACC): Use it.
+
+2009-04-06 Akim Demaille <[email protected]>
+
parser: handle %locations as %define locations.
* src/getargs.h, src/getargs.c (locations_flag): Remove.
* src/getargs.c, src/scan-code.l: Use muscle_percent_define_ensure
diff --git a/src/local.mk b/src/local.mk
index 111f16e..0ef2355 100644
--- a/src/local.mk
+++ b/src/local.mk
@@ -24,7 +24,8 @@ LDADD = $(top_builddir)/lib/libbison.a $(LIBINTL)
# Use our own Bison to build the parser. Of course, you ought to
# keep a sane version of Bison nearby...
-YACC = $(top_builddir)/tests/bison -y
+BISON = $(top_builddir)/tests/bison
+YACC = $(BISON) -y
AM_YFLAGS = -dv --warnings=all,error --report=all
bin_PROGRAMS = src/bison
--
1.6.2.1