summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-05-30 20:56:23 +0000
committerphk <phk@FreeBSD.org>1996-05-30 20:56:23 +0000
commit57278aca7d3236015072f1434b978cd553ce6f0e (patch)
tree9f2b7f1097eb62324eea31d6bc3b5cb62e5031e2 /games
parenta81e9f20dc40905b6464a5693bfcc0acafcc4194 (diff)
downloadFreeBSD-src-57278aca7d3236015072f1434b978cd553ce6f0e.zip
FreeBSD-src-57278aca7d3236015072f1434b978cd553ce6f0e.tar.gz
Use new yacc rule.
Diffstat (limited to 'games')
-rw-r--r--games/atc/Makefile4
-rw-r--r--games/atc/lex.l2
2 files changed, 3 insertions, 3 deletions
diff --git a/games/atc/Makefile b/games/atc/Makefile
index 80305a1..d00acc2 100644
--- a/games/atc/Makefile
+++ b/games/atc/Makefile
@@ -2,13 +2,13 @@
PROG= atc
CFLAGS+=-DBSD -I${.CURDIR} -I.
-SRCS= extern.c grammar.c graphics.c input.c lex.c list.c log.c \
+SRCS= extern.c grammar.y graphics.c input.c lex.l list.c log.c \
main.c tunable.c update.c
MAN6= atc.6
DPADD= ${usr/lib/libl.a ${LIBM} ${LIBTERMCAP} ${LIBCURSES} ${LIBCOMPAT}
LDADD= -ll -lm -lcurses -ltermcap -lcompat
GAMES= ATC_scores Game_List Killer crossover default easy game_2
-CLEANFILES=grammar.c y.tab.h lex.c
+CLEANFILES=grammer.tab.h
HIDEGAME=hidegame
beforeinstall:
diff --git a/games/atc/lex.l b/games/atc/lex.l
index 0092a29..28b00b3 100644
--- a/games/atc/lex.l
+++ b/games/atc/lex.l
@@ -48,7 +48,7 @@
static char sccsid[] = "@(#)lex.l 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
-#include "y.tab.h"
+#include "grammar.tab.h"
extern int line;
%}
OpenPOWER on IntegriCloud