diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-05-15 16:48:04 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-05-15 16:48:04 -0300 |
commit | 93d93a0bfbc30f1176e973e1238b51e560eeb233 (patch) | |
tree | e2865f4a4e8f10fc8db6edd1b26020b292392be9 /lopcodes.h | |
parent | 9e1f94fc1c3e8d4a8e68185223d03dafc1ee8050 (diff) | |
download | lua-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.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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++; */ | |||
143 | OP_FORPREP,/* J */ | 143 | OP_FORPREP,/* J */ |
144 | OP_FORLOOP,/* J */ | 144 | OP_FORLOOP,/* J */ |
145 | 145 | ||
146 | OP_LFORPREP,/* J */ | ||
147 | OP_LFORLOOP,/* J */ | ||
148 | |||
146 | OP_CLOSURE,/* A B v_b-v_1 closure(KPROTO[a], v_1-v_b) */ | 149 | OP_CLOSURE,/* A B v_b-v_1 closure(KPROTO[a], v_1-v_b) */ |
147 | 150 | ||
148 | OP_SETLINE/* U - - LINE=u */ | 151 | OP_SETLINE/* U - - LINE=u */ |