mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 07:13:02 +00:00
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.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2008-11-03 Akim Demaille <demaille@gostai.com>
|
||||||
|
|
||||||
|
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 <demaille@gostai.com>
|
2008-11-03 Akim Demaille <demaille@gostai.com>
|
||||||
|
|
||||||
bench: Improve output.
|
bench: Improve output.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
## Process this file with automake to produce Makefile.in -*-Makefile-*-
|
## 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
|
# 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
|
# 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)
|
$(srcdir)/calc++-parser.stamp: $(srcdir)/calc++-parser.yy $(BISON_IN)
|
||||||
@rm -f calc++-parser.tmp
|
@rm -f calc++-parser.tmp
|
||||||
@touch 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
|
$(srcdir)/calc++-parser.yy
|
||||||
@mv -f calc++-parser.tmp $@
|
@mv -f calc++-parser.tmp $@
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user