diff options
Diffstat (limited to 'lcode.h')
| -rw-r--r-- | lcode.h | 8 |
1 files changed, 5 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lcode.h,v 1.15 2000/06/28 20:20:36 roberto Exp roberto $ | 2 | ** $Id: lcode.h,v 1.16 2000/08/09 14:49:13 roberto Exp roberto $ |
| 3 | ** Code generator for Lua | 3 | ** Code generator for Lua |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -38,11 +38,13 @@ enum Mode {iO, iU, iS, iAB}; /* instruction format */ | |||
| 38 | 38 | ||
| 39 | #define VD 100 /* flag for variable delta */ | 39 | #define VD 100 /* flag for variable delta */ |
| 40 | 40 | ||
| 41 | extern const struct OpProperties { | 41 | typedef struct OpProperties { |
| 42 | char mode; | 42 | char mode; |
| 43 | unsigned char push; | 43 | unsigned char push; |
| 44 | unsigned char pop; | 44 | unsigned char pop; |
| 45 | } luaK_opproperties[]; | 45 | } OpProperties; |
| 46 | |||
| 47 | extern const OpProperties luaK_opproperties[]; | ||
| 46 | 48 | ||
| 47 | 49 | ||
| 48 | void luaK_error (LexState *ls, const char *msg); | 50 | void luaK_error (LexState *ls, const char *msg); |
