From 93d93a0bfbc30f1176e973e1238b51e560eeb233 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 15 May 2000 16:48:04 -0300 Subject: first implementation of `for' over tables --- ltests.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'ltests.c') diff --git a/ltests.c b/ltests.c index 4646c5c9..8502c95a 100644 --- a/ltests.c +++ b/ltests.c @@ -1,5 +1,5 @@ /* -** $Id: ltests.c,v 1.17 2000/05/08 19:32:53 roberto Exp roberto $ +** $Id: ltests.c,v 1.18 2000/05/10 16:33:20 roberto Exp roberto $ ** Internal Module for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -103,8 +103,10 @@ static int pushop (lua_State *L, Instruction i) { case OP_JMPONF: S("JMPONF"); break; case OP_JMP: S("JMP"); break; case OP_PUSHNILJMP: O("PUSHNILJMP"); break; - case OP_FORPREP: S("OP_FORPREP"); break; - case OP_FORLOOP: S("OP_FORLOOP"); break; + case OP_FORPREP: S("FORPREP"); break; + case OP_FORLOOP: S("FORLOOP"); break; + case OP_LFORPREP: S("LFORPREP"); break; + case OP_LFORLOOP: S("LFORLOOP"); break; case OP_CLOSURE: AB("CLOSURE"); break; case OP_SETLINE: U("SETLINE"); break; } -- cgit v1.2.3-55-g6feb