aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1996-03-15 15:22:09 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1996-03-15 15:22:09 -0300
commit54ba642cc368c29d85e57fea85f963c01808e210 (patch)
tree2a8bf8db33207b42c39324336597f435e0440bed
parent8826eb7918768ab1543777ff0ff283bc1531277e (diff)
downloadlua-54ba642cc368c29d85e57fea85f963c01808e210.tar.gz
lua-54ba642cc368c29d85e57fea85f963c01808e210.tar.bz2
lua-54ba642cc368c29d85e57fea85f963c01808e210.zip
new module "undump.o"
-rw-r--r--makefile17
-rw-r--r--ugly.h36
2 files changed, 11 insertions, 42 deletions
diff --git a/makefile b/makefile
index 60d37bef..f7a6ac7c 100644
--- a/makefile
+++ b/makefile
@@ -1,4 +1,4 @@
1# $Id: makefile,v 1.20 1996/02/13 17:30:39 roberto Exp roberto $ 1# $Id: makefile,v 1.21 1996/03/05 15:57:53 roberto Exp roberto $
2 2
3#configuration 3#configuration
4 4
@@ -25,7 +25,8 @@ LUAOBJS = \
25 tree.o \ 25 tree.o \
26 fallback.o \ 26 fallback.o \
27 mem.o \ 27 mem.o \
28 func.o 28 func.o \
29 undump.o
29 30
30LIBOBJS = \ 31LIBOBJS = \
31 iolib.o \ 32 iolib.o \
@@ -62,25 +63,29 @@ clear :
62 rm -f parser.c parser.h y.tab.c y.tab.h 63 rm -f parser.c parser.h y.tab.c y.tab.h
63 co lua.h lualib.h luadebug.h 64 co lua.h lualib.h luadebug.h
64 65
66
65% : RCS/%,v 67% : RCS/%,v
66 co $@ 68 co $@
67 69
68 70
71
69fallback.o : fallback.c mem.h fallback.h opcode.h lua.h types.h tree.h func.h 72fallback.o : fallback.c mem.h fallback.h opcode.h lua.h types.h tree.h func.h
70func.o : func.c luadebug.h lua.h table.h tree.h types.h opcode.h func.h mem.h 73func.o : func.c luadebug.h lua.h table.h tree.h types.h opcode.h func.h mem.h
71hash.o : hash.c mem.h opcode.h lua.h types.h tree.h func.h hash.h table.h 74hash.o : hash.c mem.h opcode.h lua.h types.h tree.h func.h hash.h table.h
72inout.o : inout.c lex.h opcode.h lua.h types.h tree.h func.h inout.h table.h 75inout.o : inout.c lex.h opcode.h lua.h types.h tree.h func.h inout.h table.h \
76 mem.h
73iolib.o : iolib.c lua.h luadebug.h lualib.h 77iolib.o : iolib.c lua.h luadebug.h lualib.h
74lex.o : lex.c mem.h tree.h types.h table.h opcode.h lua.h func.h lex.h inout.h \ 78lex.o : lex.c mem.h tree.h types.h table.h opcode.h lua.h func.h lex.h inout.h \
75 luadebug.h parser.h ugly.h 79 luadebug.h parser.h
76lua.o : lua.c lua.h lualib.h 80lua.o : lua.c lua.h lualib.h
77mathlib.o : mathlib.c lualib.h lua.h 81mathlib.o : mathlib.c lualib.h lua.h
78mem.o : mem.c mem.h lua.h table.h tree.h types.h opcode.h func.h 82mem.o : mem.c mem.h lua.h table.h tree.h types.h opcode.h func.h
79opcode.o : opcode.c luadebug.h lua.h mem.h opcode.h types.h tree.h func.h hash.h \ 83opcode.o : opcode.c luadebug.h lua.h mem.h opcode.h types.h tree.h func.h hash.h \
80 inout.h table.h fallback.h 84 inout.h table.h fallback.h undump.h
81parser.o : parser.c luadebug.h lua.h mem.h lex.h opcode.h types.h tree.h func.h \ 85parser.o : parser.c luadebug.h lua.h mem.h lex.h opcode.h types.h tree.h func.h \
82 hash.h inout.h table.h 86 hash.h inout.h table.h
83strlib.o : strlib.c lua.h lualib.h 87strlib.o : strlib.c lua.h lualib.h
84table.o : table.c mem.h opcode.h lua.h types.h tree.h func.h hash.h table.h \ 88table.o : table.c mem.h opcode.h lua.h types.h tree.h func.h hash.h table.h \
85 inout.h fallback.h luadebug.h 89 inout.h fallback.h luadebug.h
86tree.o : tree.c mem.h lua.h tree.h types.h hash.h opcode.h func.h table.h 90tree.o : tree.c mem.h lua.h tree.h types.h lex.h hash.h opcode.h func.h table.h
91undump.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
deleted file mode 100644
index 3938f639..00000000
--- a/ugly.h
+++ /dev/null
@@ -1,36 +0,0 @@
1/*
2** ugly.h
3** TecCGraf - PUC-Rio
4** $Id: $
5*/
6
7#ifndef ugly_h
8#define ugly_h
9
10/* This enum must have the same order of the array 'reserved' in lex.c */
11
12enum {
13 U_and=128,
14 U_do,
15 U_else,
16 U_elseif,
17 U_end,
18 U_function,
19 U_if,
20 U_local,
21 U_nil,
22 U_not,
23 U_or,
24 U_repeat,
25 U_return,
26 U_then,
27 U_until,
28 U_while,
29 U_eq = '='+128,
30 U_le = '<'+128,
31 U_ge = '>'+128,
32 U_ne = '~'+128,
33 U_sc = '.'+128
34};
35
36#endif