summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-05-30 22:54:10 +0000
committerphk <phk@FreeBSD.org>1996-05-30 22:54:10 +0000
commitbc3dcb1c9230f9e286a3735a22e89ed7abe81147 (patch)
treef16504aff60a2542f2a7b606c0a71ebc627ffadf /lib
parent628bfc8764f6e2e5f71b7914871adc99e2a3f279 (diff)
downloadFreeBSD-src-bc3dcb1c9230f9e286a3735a22e89ed7abe81147.zip
FreeBSD-src-bc3dcb1c9230f9e286a3735a22e89ed7abe81147.tar.gz
yacc rule change.
Diffstat (limited to 'lib')
-rw-r--r--lib/libforms/Makefile2
-rw-r--r--lib/libforms/lex.l2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libforms/Makefile b/lib/libforms/Makefile
index 36b0c4f..580fd7a 100644
--- a/lib/libforms/Makefile
+++ b/lib/libforms/Makefile
@@ -7,7 +7,7 @@ SRCS = debug.c bindings.c parser.y lex.l forms.c objects.c ncurses.c
CFLAGS += -I. -I${.CURDIR} -DHASH_STATS #-g -DDEBUG -Wall -ansi -pedantic -Dlint
LDFLAGS += -ll
-CLEANFILES+= lex.c parser.c y.tab.h
+CLEANFILES+= lex.c parser.c parser.tab.h
beforeinstall:
@(cd ${.CURDIR}; cmp -s forms.h ${DESTDIR}/usr/include/forms.h || \
diff --git a/lib/libforms/lex.l b/lib/libforms/lex.l
index 7aa0351..ef626c3 100644
--- a/lib/libforms/lex.l
+++ b/lib/libforms/lex.l
@@ -36,7 +36,7 @@
#include <string.h>
#include <unistd.h>
-#include "y.tab.h"
+#include "parser.tab.h"
extern int lineno;
extern int charno;
extern int off;
OpenPOWER on IntegriCloud