diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-07-02 17:42:40 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-07-02 17:42:40 -0300 |
commit | 6a02bbe1e2f8ad1b98a077bd2aac44e776fd107c (patch) | |
tree | f9923894e45cf4fcfe40c69bd198cd263fcc5529 /lcode.h | |
parent | 7631c29b2f1d57866e2ab885aedc19c29e93a653 (diff) | |
download | lua-6a02bbe1e2f8ad1b98a077bd2aac44e776fd107c.tar.gz lua-6a02bbe1e2f8ad1b98a077bd2aac44e776fd107c.tar.bz2 lua-6a02bbe1e2f8ad1b98a077bd2aac44e776fd107c.zip |
better organization for fields in struct 'expdesc'
Diffstat (limited to 'lcode.h')
-rw-r--r-- | lcode.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lcode.h,v 1.53 2010/02/26 20:40:29 roberto Exp roberto $ | 2 | ** $Id: lcode.h,v 1.54 2010/04/17 12:46:32 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 | */ |
@@ -36,7 +36,7 @@ typedef enum BinOpr { | |||
36 | typedef enum UnOpr { OPR_MINUS, OPR_NOT, OPR_LEN, OPR_NOUNOPR } UnOpr; | 36 | typedef enum UnOpr { OPR_MINUS, OPR_NOT, OPR_LEN, OPR_NOUNOPR } UnOpr; |
37 | 37 | ||
38 | 38 | ||
39 | #define getcode(fs,e) ((fs)->f->code[(e)->u.s.info]) | 39 | #define getcode(fs,e) ((fs)->f->code[(e)->u.info]) |
40 | 40 | ||
41 | #define luaK_codeAsBx(fs,o,A,sBx) luaK_codeABx(fs,o,A,(sBx)+MAXARG_sBx) | 41 | #define luaK_codeAsBx(fs,o,A,sBx) luaK_codeABx(fs,o,A,(sBx)+MAXARG_sBx) |
42 | 42 | ||