diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-04-25 16:35:19 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-04-25 16:35:19 -0300 |
commit | 5951c79ae12b31556f8a64886b1d7fd0801d7889 (patch) | |
tree | a420ebf2aaee6cde6e6f4d397d7857c5bfecd4fb /lcode.h | |
parent | e381c582de1b80a5f3df2c0d36fc25b415b48de0 (diff) | |
download | lua-5951c79ae12b31556f8a64886b1d7fd0801d7889.tar.gz lua-5951c79ae12b31556f8a64886b1d7fd0801d7889.tar.bz2 lua-5951c79ae12b31556f8a64886b1d7fd0801d7889.zip |
default increment for 'for' loop is an integer (1, not 1.0)
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.57 2011/04/07 18:14:12 roberto Exp roberto $ | 2 | ** $Id: lcode.h,v 1.58 2011/08/30 16:26:41 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 | */ |
@@ -52,7 +52,7 @@ LUAI_FUNC void luaK_nil (FuncState *fs, int from, int n); | |||
52 | LUAI_FUNC void luaK_reserveregs (FuncState *fs, int n); | 52 | LUAI_FUNC void luaK_reserveregs (FuncState *fs, int n); |
53 | LUAI_FUNC void luaK_checkstack (FuncState *fs, int n); | 53 | LUAI_FUNC void luaK_checkstack (FuncState *fs, int n); |
54 | LUAI_FUNC int luaK_stringK (FuncState *fs, TString *s); | 54 | LUAI_FUNC int luaK_stringK (FuncState *fs, TString *s); |
55 | LUAI_FUNC int luaK_numberK (FuncState *fs, lua_Number r); | 55 | LUAI_FUNC int luaK_intK (FuncState *fs, lua_Integer n); |
56 | LUAI_FUNC void luaK_dischargevars (FuncState *fs, expdesc *e); | 56 | LUAI_FUNC void luaK_dischargevars (FuncState *fs, expdesc *e); |
57 | LUAI_FUNC int luaK_exp2anyreg (FuncState *fs, expdesc *e); | 57 | LUAI_FUNC int luaK_exp2anyreg (FuncState *fs, expdesc *e); |
58 | LUAI_FUNC void luaK_exp2anyregup (FuncState *fs, expdesc *e); | 58 | LUAI_FUNC void luaK_exp2anyregup (FuncState *fs, expdesc *e); |