diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-28 17:21:06 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-28 17:21:06 -0300 |
| commit | 014a09c5095be3ef11366530e4630ee817a526a7 (patch) | |
| tree | 1460ff0d01cd4adf8fac2609ca2ba90411babf2c /lcode.h | |
| parent | b62228297372c7b24b6661ac1bdd7df2e8ece64e (diff) | |
| download | lua-014a09c5095be3ef11366530e4630ee817a526a7.tar.gz lua-014a09c5095be3ef11366530e4630ee817a526a7.tar.bz2 lua-014a09c5095be3ef11366530e4630ee817a526a7.zip | |
better error messages
Diffstat (limited to '')
| -rw-r--r-- | lcode.h | 7 |
1 files changed, 5 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lcode.h,v 1.13 2000/05/22 18:44:46 roberto Exp roberto $ | 2 | ** $Id: lcode.h,v 1.14 2000/06/16 17:51:40 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 | */ |
| @@ -22,9 +22,12 @@ | |||
| 22 | 22 | ||
| 23 | enum Mode {iO, iU, iS, iAB}; /* instruction format */ | 23 | enum Mode {iO, iU, iS, iAB}; /* instruction format */ |
| 24 | 24 | ||
| 25 | #define VD 100 /* flag for variable delta */ | ||
| 26 | |||
| 25 | extern const struct OpProperties { | 27 | extern const struct OpProperties { |
| 26 | char mode; | 28 | char mode; |
| 27 | signed char delta; | 29 | unsigned char push; |
| 30 | unsigned char pop; | ||
| 28 | } luaK_opproperties[]; | 31 | } luaK_opproperties[]; |
| 29 | 32 | ||
| 30 | 33 | ||
