diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-04-09 16:47:44 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-04-09 16:47:44 -0300 |
commit | 7b65328c8e89ecc999e47d00288bfa4cf6692cdc (patch) | |
tree | 4bff202763e7389ca40a44003703376d32eeaf78 /lopcodes.c | |
parent | d2e05589d738c3a1b563879435d5cc0830719fd1 (diff) | |
download | lua-7b65328c8e89ecc999e47d00288bfa4cf6692cdc.tar.gz lua-7b65328c8e89ecc999e47d00288bfa4cf6692cdc.tar.bz2 lua-7b65328c8e89ecc999e47d00288bfa4cf6692cdc.zip |
new semantics for `generic for' (with state)
Diffstat (limited to 'lopcodes.c')
-rw-r--r-- | lopcodes.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lopcodes.c,v 1.13 2002/03/21 20:32:22 roberto Exp roberto $ | 2 | ** $Id: lopcodes.c,v 1.14 2002/03/25 17:47:14 roberto Exp roberto $ |
3 | ** extracted automatically from lopcodes.h by mkprint.lua | 3 | ** extracted automatically from lopcodes.h by mkprint.lua |
4 | ** DO NOT EDIT | 4 | ** DO NOT EDIT |
5 | ** See Copyright Notice in lua.h | 5 | ** See Copyright Notice in lua.h |
@@ -49,6 +49,7 @@ const char *const luaP_opnames[] = { | |||
49 | "RETURN", | 49 | "RETURN", |
50 | "FORLOOP", | 50 | "FORLOOP", |
51 | "TFORLOOP", | 51 | "TFORLOOP", |
52 | "OP_TFORPREP", | ||
52 | "SETLIST", | 53 | "SETLIST", |
53 | "SETLISTO", | 54 | "SETLISTO", |
54 | "CLOSE", | 55 | "CLOSE", |
@@ -98,6 +99,7 @@ const lu_byte luaP_opmodes[NUM_OPCODES] = { | |||
98 | ,opmode(0,0,0,0, 0,0,iABC) /* OP_RETURN */ | 99 | ,opmode(0,0,0,0, 0,0,iABC) /* OP_RETURN */ |
99 | ,opmode(0,0,0,0, 0,0,iAsBc) /* OP_FORLOOP */ | 100 | ,opmode(0,0,0,0, 0,0,iAsBc) /* OP_FORLOOP */ |
100 | ,opmode(0,0,0,0, 0,0,iABC) /* OP_TFORLOOP */ | 101 | ,opmode(0,0,0,0, 0,0,iABC) /* OP_TFORLOOP */ |
102 | ,opmode(0,0,0,0, 0,0,iABC) /* OP_TFORPREP */ | ||
101 | ,opmode(0,0,0,0, 0,0,iABc) /* OP_SETLIST */ | 103 | ,opmode(0,0,0,0, 0,0,iABc) /* OP_SETLIST */ |
102 | ,opmode(0,0,0,0, 0,0,iABc) /* OP_SETLISTO */ | 104 | ,opmode(0,0,0,0, 0,0,iABc) /* OP_SETLISTO */ |
103 | ,opmode(0,0,0,0, 0,0,iABC) /* OP_CLOSE */ | 105 | ,opmode(0,0,0,0, 0,0,iABC) /* OP_CLOSE */ |