BSD Yacc doesn't understand --no-lines, so use -l instead.
PATCH 1/1 BSD Yacc doesn't understand --no-lines, so use -l instead.
I've attached a patch which fixes building on FreeBSD when bison isn't installed. Both BSD and GNU Yacc understand "-l".
Signature · 1 line
Bruce
From 6222c6faf382ef40bad022a06fa2a753cafc1711 Mon Sep 17 00:00:00 2001
From: Bruce Cran <[email protected]>
Date: Wed, 15 Oct 2014 14:01:34 -0600
Subject: [PATCH] BSD Yacc doesn't understand --no-lines, so use -l instead.
--- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
@@ -276,7 +276,7 @@ y.tab.o: y.tab.c y.tab.h $(QUIET_CC)$(CC) -o $@ $(CFLAGS) $(CPPFLAGS) -c $< y.tab.c: exp/expression-parser.y - $(QUIET_YACC)$(YACC) --no-lines -d -b y exp/expression-parser.y + $(QUIET_YACC)$(YACC) -l -d -b y exp/expression-parser.y y.tab.h: y.tab.c
--
2.1.0
Quoted 2 lines · Bruce Cran
I've attached a patch which fixes building on FreeBSD when bison isn't installed. Both BSD and GNU Yacc understand "-l".
Thanks Bruce, applied.
Signature · 1 line
Jens Axboe