bison-patches
[Top][All Lists]
Advanced

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

[PATCH] Don't specify the skeleton twice in the example.


From: Akim Demaille
Subject: [PATCH] Don't specify the skeleton twice in the example.
Date: Mon, 03 Nov 2008 21:01:05 -0000

        * examples/calc++/Makefile.am: Don't pass -S to Bison, the grammar
        file does what is needed.
---
 ChangeLog                   |    6 ++++++
 examples/calc++/Makefile.am |    4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a0e483e..63d6694 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2008-11-03  Akim Demaille  <address@hidden>
 
+       Don't specify the skeleton twice in the example.
+       * examples/calc++/Makefile.am: Don't pass -S to Bison, the grammar
+       file does what is needed.
+
+2008-11-03  Akim Demaille  <address@hidden>
+
        bench: Improve output.
        * etc/bench.pl.in (bench_grammar): Tune the printf format.
 
diff --git a/examples/calc++/Makefile.am b/examples/calc++/Makefile.am
index 6046738..1c42284 100644
--- a/examples/calc++/Makefile.am
+++ b/examples/calc++/Makefile.am
@@ -1,5 +1,5 @@
 ## Process this file with automake to produce Makefile.in -*-Makefile-*-
-## Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+## Copyright (C) 2005, 2006, 2008 Free Software Foundation, Inc.
 
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -56,7 +56,7 @@ EXTRA_DIST = $(srcdir)/calc++-parser.stamp 
$(srcdir)/calc++-parser.yy
 $(srcdir)/calc++-parser.stamp: $(srcdir)/calc++-parser.yy $(BISON_IN)
        @rm -f calc++-parser.tmp
        @touch calc++-parser.tmp
-       $(BISON) -d -ra -S lalr1.cc -o $(srcdir)/calc++-parser.cc \
+       $(BISON) -d -ra -o $(srcdir)/calc++-parser.cc \
          $(srcdir)/calc++-parser.yy
        @mv -f calc++-parser.tmp $@
 
-- 
1.6.0.2.588.g3102





reply via email to

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