diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-08-15 15:28:48 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-08-15 15:28:48 -0300 |
commit | 44eb7d91ac24db572a50ccca388a401cbdfd6fe0 (patch) | |
tree | 2f304e0359fa5588279406ea056aa47f0d5f563e /lcode.c | |
parent | ddc8d94a087f9c0ef758dc26540a5f5ac486e19d (diff) | |
download | lua-44eb7d91ac24db572a50ccca388a401cbdfd6fe0.tar.gz lua-44eb7d91ac24db572a50ccca388a401cbdfd6fe0.tar.bz2 lua-44eb7d91ac24db572a50ccca388a401cbdfd6fe0.zip |
comments
Diffstat (limited to 'lcode.c')
-rw-r--r-- | lcode.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lcode.c,v 1.47 2000/08/10 19:50:47 roberto Exp roberto $ | 2 | ** $Id: lcode.c,v 1.48 2000/08/14 17:46:27 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 | */ |
@@ -330,7 +330,7 @@ void luaK_tostack (LexState *ls, expdesc *v, int onlyone) { | |||
330 | luaK_concat(fs, &v->u.l.t, fs->pc-1); /* put `previous' in t. list */ | 330 | luaK_concat(fs, &v->u.l.t, fs->pc-1); /* put `previous' in t. list */ |
331 | else { | 331 | else { |
332 | j = code_label(fs, OP_JMP, NO_JUMP); /* to jump over both pushes */ | 332 | j = code_label(fs, OP_JMP, NO_JUMP); /* to jump over both pushes */ |
333 | /* correct stack for compiler and simbolic execution */ | 333 | /* correct stack for compiler and symbolic execution */ |
334 | luaK_adjuststack(fs, 1); | 334 | luaK_adjuststack(fs, 1); |
335 | } | 335 | } |
336 | p_nil = code_label(fs, OP_PUSHNILJMP, 0); | 336 | p_nil = code_label(fs, OP_PUSHNILJMP, 0); |