diff options
Diffstat (limited to 'opcode.h')
-rw-r--r-- | opcode.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | ** TeCGraf - PUC-Rio | 2 | ** TeCGraf - PUC-Rio |
3 | ** $Id: opcode.h,v 1.4 1994/04/13 21:37:20 celes Exp celes $ | 3 | ** $Id: opcode.h,v 2.1 1994/04/20 22:07:57 celes Exp celes $ |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #ifndef opcode_h | 6 | #ifndef opcode_h |
@@ -20,6 +20,8 @@ typedef unsigned char Byte; | |||
20 | 20 | ||
21 | typedef unsigned short Word; | 21 | typedef unsigned short Word; |
22 | 22 | ||
23 | typedef signed long Long; | ||
24 | |||
23 | typedef union | 25 | typedef union |
24 | { | 26 | { |
25 | struct {char c1; char c2;} m; | 27 | struct {char c1; char c2;} m; |
@@ -116,7 +118,6 @@ typedef struct Object | |||
116 | 118 | ||
117 | typedef struct | 119 | typedef struct |
118 | { | 120 | { |
119 | char *name; | ||
120 | Object object; | 121 | Object object; |
121 | } Symbol; | 122 | } Symbol; |
122 | 123 | ||
@@ -130,7 +131,6 @@ typedef struct | |||
130 | #define uvalue(o) ((o)->value.u) | 131 | #define uvalue(o) ((o)->value.u) |
131 | 132 | ||
132 | /* Macros to access symbol table */ | 133 | /* Macros to access symbol table */ |
133 | #define s_name(i) (lua_table[i].name) | ||
134 | #define s_object(i) (lua_table[i].object) | 134 | #define s_object(i) (lua_table[i].object) |
135 | #define s_tag(i) (tag(&s_object(i))) | 135 | #define s_tag(i) (tag(&s_object(i))) |
136 | #define s_nvalue(i) (nvalue(&s_object(i))) | 136 | #define s_nvalue(i) (nvalue(&s_object(i))) |