From bd6e0d9485109a5479b34dbdf9f8a6b4597163ec Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 2 Jun 1996 17:06:40 +0000 Subject: [PATCH] Backup yacc changes. --- bin/sh/Makefile | 7 +++---- bin/sh/arith_lex.l | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/bin/sh/Makefile b/bin/sh/Makefile index 32c3b4dfb157..37a3d9567921 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 5a945768c5b9..9c3b851c4dff 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;