From 37e7a6d1c17cec607146b0e9a424fe60938851af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Wed, 14 Aug 2019 15:36:01 +0200
Subject: [PATCH] =?UTF-8?q?Now=20that=20we=20require=20Bison=20=E2=89=A5?=
 =?UTF-8?q?=203.2,=20the=20stack.hh=20and=20position.hh=20files=20are=20no?=
 =?UTF-8?q?=20longer=20generated?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/Makefile.am       | 4 ++--
 src/macro/Makefile.am | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index b594a830..8bf944bd 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,6 @@
 SUBDIRS = macro
 
-BUILT_SOURCES = DynareBison.hh stack.hh position.hh location.hh DynareBison.cc DynareFlex.cc FlexLexer.h
+BUILT_SOURCES = DynareBison.hh location.hh DynareBison.cc DynareFlex.cc FlexLexer.h
 
 bin_PROGRAMS = dynare_m
 
@@ -81,7 +81,7 @@ dynare_m-DynareFlex.$(OBJEXT): CXXFLAGS += -Wno-old-style-cast
 DynareBison.cc: DynareBison.yy
 	$(YACC) -W -o $@ $<
 
-DynareBison.hh location.hh stack.hh position.hh: DynareBison.cc
+DynareBison.hh location.hh: DynareBison.cc
 
 all-local: $(PROGRAMS)
 
diff --git a/src/macro/Makefile.am b/src/macro/Makefile.am
index c97e99fc..9d442a93 100644
--- a/src/macro/Makefile.am
+++ b/src/macro/Makefile.am
@@ -1,6 +1,6 @@
 noinst_LIBRARIES = libmacro.a
 
-BUILT_SOURCES = Parser.hh stack.hh position.hh location.hh Parser.cc Tokenizer.cc
+BUILT_SOURCES = Parser.hh location.hh Parser.cc Tokenizer.cc
 
 # We don't put BUILT_SOURCES in libmacro_a_SOURCES, otherwise Parser.o and Tokenizer.o will be linked two times (Automake translates Tokenizer.ll and Parser.yy into their respective .o); so BUILT_SOURCES is in EXTRA_DIST
 libmacro_a_SOURCES = \
@@ -31,4 +31,4 @@ libmacro_a-Tokenizer.$(OBJEXT): CXXFLAGS += -Wno-old-style-cast
 Parser.cc: Parser.yy
 	$(YACC) -W -o $@ $<
 
-Parser.hh location.hh stack.hh position.hh: Parser.cc
+Parser.hh location.hh: Parser.cc
-- 
GitLab