summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-06-02 17:06:40 +0000
committerphk <phk@FreeBSD.org>1996-06-02 17:06:40 +0000
commit9b71c2f42f0a4b49570854a13d8402df5f132467 (patch)
tree6ea9d2659f108b230df4d43cb981ed7a2bf3d9a6 /bin
parentcb0af0dbc3b966c9c3c68ce1bca3354eb93db52d (diff)
downloadFreeBSD-src-9b71c2f42f0a4b49570854a13d8402df5f132467.zip
FreeBSD-src-9b71c2f42f0a4b49570854a13d8402df5f132467.tar.gz
Backup yacc changes.
Diffstat (limited to 'bin')
-rw-r--r--bin/sh/Makefile7
-rw-r--r--bin/sh/arith_lex.l2
2 files changed, 4 insertions, 5 deletions
diff --git a/bin/sh/Makefile b/bin/sh/Makefile
index 32c3b4d..37a3d95 100644
--- a/bin/sh/Makefile
+++ b/bin/sh/Makefile
@@ -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
diff --git a/bin/sh/arith_lex.l b/bin/sh/arith_lex.l
index 5a94576..9c3b851 100644
--- a/bin/sh/arith_lex.l
+++ b/bin/sh/arith_lex.l
@@ -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;
OpenPOWER on IntegriCloud