summaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-05-15 16:48:04 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-05-15 16:48:04 -0300
commit93d93a0bfbc30f1176e973e1238b51e560eeb233 (patch)
treee2865f4a4e8f10fc8db6edd1b26020b292392be9 /ltests.c
parent9e1f94fc1c3e8d4a8e68185223d03dafc1ee8050 (diff)
downloadlua-93d93a0bfbc30f1176e973e1238b51e560eeb233.tar.gz
lua-93d93a0bfbc30f1176e973e1238b51e560eeb233.tar.bz2
lua-93d93a0bfbc30f1176e973e1238b51e560eeb233.zip
first implementation of `for' over tables
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/ltests.c b/ltests.c
index 4646c5c9..8502c95a 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 1.17 2000/05/08 19:32:53 roberto Exp roberto $ 2** $Id: ltests.c,v 1.18 2000/05/10 16:33:20 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*/
@@ -103,8 +103,10 @@ static int pushop (lua_State *L, Instruction i) {
103 case OP_JMPONF: S("JMPONF"); break; 103 case OP_JMPONF: S("JMPONF"); break;
104 case OP_JMP: S("JMP"); break; 104 case OP_JMP: S("JMP"); break;
105 case OP_PUSHNILJMP: O("PUSHNILJMP"); break; 105 case OP_PUSHNILJMP: O("PUSHNILJMP"); break;
106 case OP_FORPREP: S("OP_FORPREP"); break; 106 case OP_FORPREP: S("FORPREP"); break;
107 case OP_FORLOOP: S("OP_FORLOOP"); break; 107 case OP_FORLOOP: S("FORLOOP"); break;
108 case OP_LFORPREP: S("LFORPREP"); break;
109 case OP_LFORLOOP: S("LFORLOOP"); break;
108 case OP_CLOSURE: AB("CLOSURE"); break; 110 case OP_CLOSURE: AB("CLOSURE"); break;
109 case OP_SETLINE: U("SETLINE"); break; 111 case OP_SETLINE: U("SETLINE"); break;
110 } 112 }