aboutsummaryrefslogtreecommitdiff
path: root/lcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'lcode.h')
-rw-r--r--lcode.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/lcode.h b/lcode.h
index c0f3392a..bb032267 100644
--- a/lcode.h
+++ b/lcode.h
@@ -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
41extern const struct OpProperties { 41typedef 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
47extern const OpProperties luaK_opproperties[];
46 48
47 49
48void luaK_error (LexState *ls, const char *msg); 50void luaK_error (LexState *ls, const char *msg);