Use new yacc rule.

This commit is contained in:
Poul-Henning Kamp 1996-05-30 20:56:23 +00:00
parent c959cc994a
commit e968df36c0
2 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -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;
%}