Backup yacc changes.

This commit is contained in:
Poul-Henning Kamp 1996-06-02 17:06:40 +00:00
parent fc15a73012
commit bd6e0d9485
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=16070
2 changed files with 4 additions and 5 deletions

View File

@ -2,12 +2,11 @@
# $Id: Makefile,v 1.9 1996/02/03 13:27:54 joerg Exp $
PROG= sh
SRCS= alias.c arith.y arith_lex.l builtins.c cd.c echo.c error.c eval.c \
exec.c expand.c \
SRCS= alias.c builtins.c cd.c echo.c error.c eval.c exec.c expand.c \
histedit.c input.c jobs.c mail.c main.c memalloc.c miscbltin.c \
mystring.c nodes.c options.c parser.c printf.c redir.c show.c \
signames.c syntax.c trap.c output.c var.c
OBJS+= init.o
OBJS+= init.o arith.o arith_lex.o
DPADD= ${LIBL} ${LIBEDIT} ${LIBTERMCAP}
LDADD= -ll -ledit -ltermcap
LFLAGS= -8 # 8-bit lex scanner for arithmetic
@ -18,7 +17,7 @@ CFLAGS+=-DSHELL -I. -I${.CURDIR}
CLEANFILES+=\
builtins.c builtins.h init.c mkinit mknodes mksignames mksyntax \
nodes.c nodes.h signames.c signames.h syntax.c syntax.h token.def \
arith.tab.h
y.tab.h
.depend parser.o: token.def
token.def: mktokens

View File

@ -41,7 +41,7 @@
static char sccsid[] = "@(#)arith_lex.l 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include "arith.tab.h"
#include "y.tab.h"
extern yylval;
extern char *arith_buf, *arith_startbuf;