commit 54ba642cc368c29d85e57fea85f963c01808e210
parent 8826eb7918768ab1543777ff0ff283bc1531277e
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Fri, 15 Mar 1996 15:21:49 -0300
new module "undump.o"
Diffstat:
M | makefile | | | 17 | +++++++++++------ |
D | ugly.h | | | 36 | ------------------------------------ |
2 files changed, 11 insertions(+), 42 deletions(-)
diff --git a/makefile b/makefile
@@ -1,4 +1,4 @@
-# $Id: makefile,v 1.20 1996/02/13 17:30:39 roberto Exp roberto $
+# $Id: makefile,v 1.21 1996/03/05 15:57:53 roberto Exp roberto $
#configuration
@@ -25,7 +25,8 @@ LUAOBJS = \
tree.o \
fallback.o \
mem.o \
- func.o
+ func.o \
+ undump.o
LIBOBJS = \
iolib.o \
@@ -62,25 +63,29 @@ clear :
rm -f parser.c parser.h y.tab.c y.tab.h
co lua.h lualib.h luadebug.h
+
% : RCS/%,v
co $@
+
fallback.o : fallback.c mem.h fallback.h opcode.h lua.h types.h tree.h func.h
func.o : func.c luadebug.h lua.h table.h tree.h types.h opcode.h func.h mem.h
hash.o : hash.c mem.h opcode.h lua.h types.h tree.h func.h hash.h table.h
-inout.o : inout.c lex.h opcode.h lua.h types.h tree.h func.h inout.h table.h
+inout.o : inout.c lex.h opcode.h lua.h types.h tree.h func.h inout.h table.h \
+ mem.h
iolib.o : iolib.c lua.h luadebug.h lualib.h
lex.o : lex.c mem.h tree.h types.h table.h opcode.h lua.h func.h lex.h inout.h \
- luadebug.h parser.h ugly.h
+ luadebug.h parser.h
lua.o : lua.c lua.h lualib.h
mathlib.o : mathlib.c lualib.h lua.h
mem.o : mem.c mem.h lua.h table.h tree.h types.h opcode.h func.h
opcode.o : opcode.c luadebug.h lua.h mem.h opcode.h types.h tree.h func.h hash.h \
- inout.h table.h fallback.h
+ inout.h table.h fallback.h undump.h
parser.o : parser.c luadebug.h lua.h mem.h lex.h opcode.h types.h tree.h func.h \
hash.h inout.h table.h
strlib.o : strlib.c lua.h lualib.h
table.o : table.c mem.h opcode.h lua.h types.h tree.h func.h hash.h table.h \
inout.h fallback.h luadebug.h
-tree.o : tree.c mem.h lua.h tree.h types.h hash.h opcode.h func.h table.h
+tree.o : tree.c mem.h lua.h tree.h types.h lex.h hash.h opcode.h func.h table.h
+undump.o : undump.c opcode.h lua.h types.h tree.h func.h mem.h table.h undump.h
diff --git a/ugly.h b/ugly.h
@@ -1,36 +0,0 @@
-/*
-** ugly.h
-** TecCGraf - PUC-Rio
-** $Id: $
-*/
-
-#ifndef ugly_h
-#define ugly_h
-
-/* This enum must have the same order of the array 'reserved' in lex.c */
-
-enum {
- U_and=128,
- U_do,
- U_else,
- U_elseif,
- U_end,
- U_function,
- U_if,
- U_local,
- U_nil,
- U_not,
- U_or,
- U_repeat,
- U_return,
- U_then,
- U_until,
- U_while,
- U_eq = '='+128,
- U_le = '<'+128,
- U_ge = '>'+128,
- U_ne = '~'+128,
- U_sc = '.'+128
-};
-
-#endif