From 82d3d8aee84fd87077e7299e7a44a97ee7536de9 Mon Sep 17 00:00:00 2001 From: Ulya Trofimovich Date: Mon, 10 Aug 2015 13:39:57 +0100 Subject: [PATCH] Makefile.am: dropped bison flags: -y -d --no-lines. -y stands for yacc compatibility, we don't need it since we no longer accept yacc instead of bison. -d stands for defines file, we already specify that in makefile rule for parser. --no-lines is generally useless and didn't have any effect for some reason (#line directives are present). --- re2c/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/re2c/Makefile.am b/re2c/Makefile.am index 8e0d7f22..b2f6860b 100644 --- a/re2c/Makefile.am +++ b/re2c/Makefile.am @@ -1,7 +1,6 @@ # flags # do *not* add CXXFLAGS here, add them in configure.ac AM_CXXFLAGS = $(CXXFLAGSDEFAULT) -BISONFLAGS = -y -d --no-lines RE2CFLAGS = -b # binary @@ -183,7 +182,7 @@ CLEANFILES = \ $(AUTOGEN_PARSER): $(CUSTOM_PARSER) @if test $(BISON) != "no"; \ then \ - $(BISON) $(BISONFLAGS) --output=$@ --defines=$(AUTOGEN_PARSER_HDR) $(top_srcdir)/$(CUSTOM_PARSER) && \ + $(BISON) --output=$@ --defines=$(AUTOGEN_PARSER_HDR) $(top_srcdir)/$(CUSTOM_PARSER) && \ if cmp -s $@ $(top_srcdir)/$(BOOTSTRAP_PARSER); \ then \ cp $@ $(top_srcdir)/$(BOOTSTRAP_PARSER) && \ -- 2.40.0