diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-08-27 12:14:57 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-08-27 12:14:57 -0300 |
commit | 7afc74ff07907294a2162600023a9c61a64cdbd5 (patch) | |
tree | 9173b9f04c1f5b5b1898f5068b917da93c7167df /lopcodes.c | |
parent | 022bf2720287dd079e3e575c01ceaabfbb37489b (diff) | |
download | lua-7afc74ff07907294a2162600023a9c61a64cdbd5.tar.gz lua-7afc74ff07907294a2162600023a9c61a64cdbd5.tar.bz2 lua-7afc74ff07907294a2162600023a9c61a64cdbd5.zip |
avoid some warnings from strange compilers
Diffstat (limited to 'lopcodes.c')
-rw-r--r-- | lopcodes.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id:$ | 2 | ** $Id: lopcodes.c,v 1.2 2001/07/03 17:02:02 roberto Exp roberto $ |
3 | ** extracted automatically from lopcodes.h by mkprint.lua | 3 | ** extracted automatically from lopcodes.h by mkprint.lua |
4 | ** DO NOT EDIT | 4 | ** DO NOT EDIT |
5 | ** See Copyright Notice in lua.h | 5 | ** See Copyright Notice in lua.h |
@@ -62,7 +62,7 @@ const l_char *const luaP_opnames[] = { | |||
62 | ((b)<<OpModeBreg) | ((c)<<OpModeCreg) | \ | 62 | ((b)<<OpModeBreg) | ((c)<<OpModeCreg) | \ |
63 | ((sa)<<OpModesetA) | ((k)<<OpModeK) | (m)) | 63 | ((sa)<<OpModesetA) | ((k)<<OpModeK) | (m)) |
64 | 64 | ||
65 | const lu_byte luaP_opmodes[] = { | 65 | const lu_byte luaP_opmodes[NUM_OPCODES] = { |
66 | /* T _ B C sA K mode opcode */ | 66 | /* T _ B C sA K mode opcode */ |
67 | opmode(0,0,1,0, 1,0,iABC) /* OP_MOVE */ | 67 | opmode(0,0,1,0, 1,0,iABC) /* OP_MOVE */ |
68 | ,opmode(0,0,0,0, 1,1,iABc) /* OP_LOADK */ | 68 | ,opmode(0,0,0,0, 1,1,iABc) /* OP_LOADK */ |