diff --git a/lex.c b/lex.c index 9dd5e752..7906ed6e 100644 --- a/lex.c +++ b/lex.c @@ -1,4 +1,4 @@ -char *rcs_lex = "$Id: lex.c,v 2.12 1994/11/22 16:13:45 roberto Stab $"; +char *rcs_lex = "$Id: lex.c,v 2.13 1994/12/20 21:20:36 roberto Exp celes $"; #include @@ -11,7 +11,7 @@ char *rcs_lex = "$Id: lex.c,v 2.12 1994/11/22 16:13:45 roberto Stab $"; #include "table.h" #include "opcode.h" #include "inout.h" -#include "y.tab.h" +#include "parser.h" #include "ugly.h" #define lua_strcmp(a,b) (a[0]b[0]?(1):strcmp(a,b))) diff --git a/makefile b/makefile index c80943cb..b854221e 100644 --- a/makefile +++ b/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.9 1994/11/23 20:15:04 roberto Exp roberto $ +# $Id: makefile,v 1.10 1994/12/23 20:47:59 roberto Exp celes $ # Compilation parameters CC = gcc CFLAGS = -I/usr/5include -Wall -Wmissing-prototypes -Wshadow -ansi -O2 @@ -11,7 +11,7 @@ ARFLAGS = rvl # Aplication modules LUAMOD = \ - y.tab \ + parser \ lex \ opcode \ hash \ @@ -33,7 +33,7 @@ LIBOBJS = $(LIBMOD:%=%.o) lua : lua.o lua.a lualib.a $(CC) $(CFLAGS) -o $@ lua.c lua.a lualib.a -lm -lua.a : y.tab.c $(LUAOBJS) +lua.a : parser.c $(LUAOBJS) $(AR) $(ARFLAGS) $@ $? ranlib lua.a @@ -48,13 +48,13 @@ liblua.so.1.0 : lua.o $(CC) $(CFLAGS) -c -o $@ $< -y.tab.c : lua.stx exscript - yacc -d lua.stx ; ex y.tab.c