Use new yacc rule.
This commit is contained in:
parent
c959cc994a
commit
e968df36c0
@ -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:
|
||||
|
@ -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;
|
||||
|
||||
%}
|
||||
|
Loading…
Reference in New Issue
Block a user