diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2008-04-02 14:38:54 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2008-04-02 14:38:54 -0300 |
commit | a4d3080fe3d07af9d2d3124b8f49eadda7c21b44 (patch) | |
tree | e90941e2268f10ac4f7234f13efdbf85f5277e99 /ltests.c | |
parent | 5627d51e0576887c4133f5b77b1dfb67334b3115 (diff) | |
download | lua-a4d3080fe3d07af9d2d3124b8f49eadda7c21b44.tar.gz lua-a4d3080fe3d07af9d2d3124b8f49eadda7c21b44.tar.bz2 lua-a4d3080fe3d07af9d2d3124b8f49eadda7c21b44.zip |
SETLIST extra argument now is an "instruction" (OP_EXTRAARG)
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.c,v 2.46 2008/02/11 19:04:16 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 2.47 2008/02/19 18:55:09 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 | */ |
@@ -410,6 +410,9 @@ static char *buildop (Proto *p, int pc, char *buff) { | |||
410 | case iAsBx: | 410 | case iAsBx: |
411 | sprintf(buff+strlen(buff), "%-12s%4d %4d", name, GETARG_A(i), GETARG_sBx(i)); | 411 | sprintf(buff+strlen(buff), "%-12s%4d %4d", name, GETARG_A(i), GETARG_sBx(i)); |
412 | break; | 412 | break; |
413 | case iAx: | ||
414 | sprintf(buff+strlen(buff), "%-12s%4d", name, GETARG_Ax(i)); | ||
415 | break; | ||
413 | } | 416 | } |
414 | return buff; | 417 | return buff; |
415 | } | 418 | } |