From a4d3080fe3d07af9d2d3124b8f49eadda7c21b44 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 2 Apr 2008 14:38:54 -0300 Subject: SETLIST extra argument now is an "instruction" (OP_EXTRAARG) --- ltests.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ltests.c') diff --git a/ltests.c b/ltests.c index ffed7d1d..37d26927 100644 --- a/ltests.c +++ b/ltests.c @@ -1,5 +1,5 @@ /* -** $Id: ltests.c,v 2.46 2008/02/11 19:04:16 roberto Exp roberto $ +** $Id: ltests.c,v 2.47 2008/02/19 18:55:09 roberto Exp roberto $ ** Internal Module for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -410,6 +410,9 @@ static char *buildop (Proto *p, int pc, char *buff) { case iAsBx: sprintf(buff+strlen(buff), "%-12s%4d %4d", name, GETARG_A(i), GETARG_sBx(i)); break; + case iAx: + sprintf(buff+strlen(buff), "%-12s%4d", name, GETARG_Ax(i)); + break; } return buff; } -- cgit v1.2.3-55-g6feb