diff options
Diffstat (limited to '')
| -rw-r--r-- | makefile | 17 | ||||
| -rw-r--r-- | ugly.h | 36 |
2 files changed, 11 insertions, 42 deletions
| @@ -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 | ||
| 30 | LIBOBJS = \ | 31 | LIBOBJS = \ |
| 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 | |||
| 69 | fallback.o : fallback.c mem.h fallback.h opcode.h lua.h types.h tree.h func.h | 72 | fallback.o : fallback.c mem.h fallback.h opcode.h lua.h types.h tree.h func.h |
| 70 | func.o : func.c luadebug.h lua.h table.h tree.h types.h opcode.h func.h mem.h | 73 | func.o : func.c luadebug.h lua.h table.h tree.h types.h opcode.h func.h mem.h |
| 71 | hash.o : hash.c mem.h opcode.h lua.h types.h tree.h func.h hash.h table.h | 74 | hash.o : hash.c mem.h opcode.h lua.h types.h tree.h func.h hash.h table.h |
| 72 | inout.o : inout.c lex.h opcode.h lua.h types.h tree.h func.h inout.h table.h | 75 | inout.o : inout.c lex.h opcode.h lua.h types.h tree.h func.h inout.h table.h \ |
| 76 | mem.h | ||
| 73 | iolib.o : iolib.c lua.h luadebug.h lualib.h | 77 | iolib.o : iolib.c lua.h luadebug.h lualib.h |
| 74 | lex.o : lex.c mem.h tree.h types.h table.h opcode.h lua.h func.h lex.h inout.h \ | 78 | lex.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 |
| 76 | lua.o : lua.c lua.h lualib.h | 80 | lua.o : lua.c lua.h lualib.h |
| 77 | mathlib.o : mathlib.c lualib.h lua.h | 81 | mathlib.o : mathlib.c lualib.h lua.h |
| 78 | mem.o : mem.c mem.h lua.h table.h tree.h types.h opcode.h func.h | 82 | mem.o : mem.c mem.h lua.h table.h tree.h types.h opcode.h func.h |
| 79 | opcode.o : opcode.c luadebug.h lua.h mem.h opcode.h types.h tree.h func.h hash.h \ | 83 | opcode.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 |
| 81 | parser.o : parser.c luadebug.h lua.h mem.h lex.h opcode.h types.h tree.h func.h \ | 85 | parser.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 |
| 83 | strlib.o : strlib.c lua.h lualib.h | 87 | strlib.o : strlib.c lua.h lualib.h |
| 84 | table.o : table.c mem.h opcode.h lua.h types.h tree.h func.h hash.h table.h \ | 88 | table.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 |
| 86 | tree.o : tree.c mem.h lua.h tree.h types.h hash.h opcode.h func.h table.h | 90 | tree.o : tree.c mem.h lua.h tree.h types.h lex.h hash.h opcode.h func.h table.h |
| 91 | 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 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 | |||
| 12 | enum { | ||
| 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 | ||
