summaryrefslogtreecommitdiff
path: root/lopcodes.h
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 /lopcodes.h
parent9e1f94fc1c3e8d4a8e68185223d03dafc1ee8050 (diff)
downloadlua-93d93a0bfbc30f1176e973e1238b51e560eeb233.tar.gz
lua-93d93a0bfbc30f1176e973e1238b51e560eeb233.tar.bz2
lua-93d93a0bfbc30f1176e973e1238b51e560eeb233.zip
first implementation of `for' over tables
Diffstat (limited to 'lopcodes.h')
-rw-r--r--lopcodes.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lopcodes.h b/lopcodes.h
index 4dcec5aa..283dcdb6 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.h,v 1.59 2000/04/14 17:45:25 roberto Exp roberto $ 2** $Id: lopcodes.h,v 1.60 2000/04/27 17:39:15 roberto Exp roberto $
3** Opcodes for Lua virtual machine 3** Opcodes for Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -143,6 +143,9 @@ OP_PUSHNILJMP,/* - - nil PC++; */
143OP_FORPREP,/* J */ 143OP_FORPREP,/* J */
144OP_FORLOOP,/* J */ 144OP_FORLOOP,/* J */
145 145
146OP_LFORPREP,/* J */
147OP_LFORLOOP,/* J */
148
146OP_CLOSURE,/* A B v_b-v_1 closure(KPROTO[a], v_1-v_b) */ 149OP_CLOSURE,/* A B v_b-v_1 closure(KPROTO[a], v_1-v_b) */
147 150
148OP_SETLINE/* U - - LINE=u */ 151OP_SETLINE/* U - - LINE=u */