diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-07-15 09:50:29 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-07-15 09:50:29 -0300 |
| commit | 32a12e2f3f18aeade5e2cd77eda67a261815246e (patch) | |
| tree | fc01c8eb3566c967952bb2a85f1a4f7fcceb58d2 /lcode.c | |
| parent | 559bb554c944ed166e363e522e48a71e60e1922d (diff) | |
| download | lua-32a12e2f3f18aeade5e2cd77eda67a261815246e.tar.gz lua-32a12e2f3f18aeade5e2cd77eda67a261815246e.tar.bz2 lua-32a12e2f3f18aeade5e2cd77eda67a261815246e.zip | |
detail (cleaned whitespaces at end of lines)
Diffstat (limited to 'lcode.c')
| -rw-r--r-- | lcode.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lcode.c,v 2.55 2011/05/31 18:24:36 roberto Exp roberto $ | 2 | ** $Id: lcode.c,v 2.56 2011/05/31 18:27:56 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 | */ |
| @@ -44,8 +44,8 @@ void luaK_nil (FuncState *fs, int from, int n) { | |||
| 44 | int pl = pfrom + GETARG_B(*previous); | 44 | int pl = pfrom + GETARG_B(*previous); |
| 45 | if ((pfrom <= from && from <= pl + 1) || | 45 | if ((pfrom <= from && from <= pl + 1) || |
| 46 | (from <= pfrom && pfrom <= l + 1)) { /* can connect both? */ | 46 | (from <= pfrom && pfrom <= l + 1)) { /* can connect both? */ |
| 47 | if (pfrom < from) from = pfrom; /* from = min(from, pfrom) */ | 47 | if (pfrom < from) from = pfrom; /* from = min(from, pfrom) */ |
| 48 | if (pl > l) l = pl; /* l = max(l, pl) */ | 48 | if (pl > l) l = pl; /* l = max(l, pl) */ |
| 49 | SETARG_A(*previous, from); | 49 | SETARG_A(*previous, from); |
| 50 | SETARG_B(*previous, l - from); | 50 | SETARG_B(*previous, l - from); |
| 51 | return; | 51 | return; |
