]> granicus.if.org Git - re2c/commitdiff
Makefile.am: dropped bison flags: -y -d --no-lines.
authorUlya Trofimovich <skvadrik@gmail.com>
Mon, 10 Aug 2015 12:39:57 +0000 (13:39 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Mon, 10 Aug 2015 12:39:57 +0000 (13:39 +0100)
-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

index 8e0d7f22e9ef3871909066b22076e5efcdda5fcb..b2f6860bb9fcc742f78315facb516607712356d0 100644 (file)
@@ -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) && \