bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Makefile: introduce $(BISON).


From: Akim Demaille
Subject: [PATCH] Makefile: introduce $(BISON).
Date: Sun, 5 Apr 2009 22:13:06 +0200

        * 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  <address@hidden>
 
+       Makefile: introduce $(BISON).
+       * src/local.mk (BISON): New.
+       (YACC): Use it.
+
+2009-04-06  Akim Demaille  <address@hidden>
+
        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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]