From f1526426cddd0aaef7f54c583b5a8651f2dad482 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Wed, 27 Feb 2013 15:41:55 +0100 Subject: [PATCH] build: stop using bison -y * Makefile.am (YACC): Pass -o y.tab.c, so that ylwrap is happy, and yet we don't pass --yacc to bison. (AM_YFLAGS): Disable Yacc warnings. --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 34edfc78..7a752d7d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -32,8 +32,8 @@ EXTRA_DIST = .prev-version .version \ ## version of Bison nearby... BISON = $(top_builddir)/tests/bison BISON_IN = $(top_srcdir)/tests/bison.in -YACC = $(BISON) -y -AM_YFLAGS = -d -v --warnings=all,error --report=all +YACC = $(BISON) -o y.tab.c +AM_YFLAGS = -d -v -Werror -Wall -Wno-yacc --report=all # Initialization before completion by local.mk's. AM_CFLAGS = $(WARN_CFLAGS) -- 2.47.2