diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-04-12 15:57:19 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-04-12 15:57:19 -0300 |
| commit | f9cf402fbd1ba2ab00f5aa5f7d0ff5c9c0580dd5 (patch) | |
| tree | 7bed49a7ff5c730cdfdef7c3a43b71e039d4442b /ltests.c | |
| parent | 0c3fe2c44be155b11b52230e36f45e688bae5ce2 (diff) | |
| download | lua-f9cf402fbd1ba2ab00f5aa5f7d0ff5c9c0580dd5.tar.gz lua-f9cf402fbd1ba2ab00f5aa5f7d0ff5c9c0580dd5.tar.bz2 lua-f9cf402fbd1ba2ab00f5aa5f7d0ff5c9c0580dd5.zip | |
first implementation of FOR
Diffstat (limited to 'ltests.c')
| -rw-r--r-- | ltests.c | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltests.c,v 1.11 2000/04/06 17:35:23 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 1.12 2000/04/07 13:12:50 roberto Exp roberto $ |
| 3 | ** Internal Module for Debugging of the Lua Implementation | 3 | ** Internal Module for Debugging of the Lua Implementation |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -104,6 +104,8 @@ static int printop (lua_State *L, Instruction i) { | |||
| 104 | case OP_PUSHNILJMP: O("PUSHNILJMP"); break; | 104 | case OP_PUSHNILJMP: O("PUSHNILJMP"); break; |
| 105 | case OP_JMPT: S("JMPT"); break; | 105 | case OP_JMPT: S("JMPT"); break; |
| 106 | case OP_JMPF: S("JMPF"); break; | 106 | case OP_JMPF: S("JMPF"); break; |
| 107 | case OP_FORPREP: S("OP_FORPREP"); break; | ||
| 108 | case OP_FORLOOP: S("OP_FORLOOP"); break; | ||
| 107 | case OP_CLOSURE: AB("CLOSURE"); break; | 109 | case OP_CLOSURE: AB("CLOSURE"); break; |
| 108 | case OP_SETLINE: U("SETLINE"); break; | 110 | case OP_SETLINE: U("SETLINE"); break; |
| 109 | } | 111 | } |
