aboutsummaryrefslogtreecommitdiff
path: root/lopcodes.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-05-13 17:15:59 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-05-13 17:15:59 -0300
commit6d268b0b00ae63e5d06aedc4fb3cec105123a565 (patch)
tree26fac79b53bfd79a9351291427358eb2e89c7360 /lopcodes.c
parentc7677471918fa55095f4993484eb5805091364fd (diff)
downloadlua-6d268b0b00ae63e5d06aedc4fb3cec105123a565.tar.gz
lua-6d268b0b00ae63e5d06aedc4fb3cec105123a565.tar.bz2
lua-6d268b0b00ae63e5d06aedc4fb3cec105123a565.zip
new semantics for "for" local variables
Diffstat (limited to 'lopcodes.c')
-rw-r--r--lopcodes.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lopcodes.c b/lopcodes.c
index 16950461..b10e5bd1 100644
--- a/lopcodes.c
+++ b/lopcodes.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.c,v 1.21 2002/08/20 20:03:05 roberto Exp roberto $ 2** $Id: lopcodes.c,v 1.22 2002/12/04 17:38:31 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
@@ -46,6 +46,7 @@ const char *const luaP_opnames[] = {
46 "TAILCALL", 46 "TAILCALL",
47 "RETURN", 47 "RETURN",
48 "FORLOOP", 48 "FORLOOP",
49 "FORPREP",
49 "TFORLOOP", 50 "TFORLOOP",
50 "TFORPREP", 51 "TFORPREP",
51 "SETLIST", 52 "SETLIST",
@@ -92,6 +93,7 @@ const lu_byte luaP_opmodes[NUM_OPCODES] = {
92 ,opmode(0, 0, 0, 0, 0, 0, iABC) /* OP_TAILCALL */ 93 ,opmode(0, 0, 0, 0, 0, 0, iABC) /* OP_TAILCALL */
93 ,opmode(0, 0, 0, 0, 0, 0, iABC) /* OP_RETURN */ 94 ,opmode(0, 0, 0, 0, 0, 0, iABC) /* OP_RETURN */
94 ,opmode(0, 0, 0, 0, 0, 0, iAsBx) /* OP_FORLOOP */ 95 ,opmode(0, 0, 0, 0, 0, 0, iAsBx) /* OP_FORLOOP */
96 ,opmode(0, 0, 0, 0, 0, 0, iAsBx) /* OP_FORPREP */
95 ,opmode(1, 0, 0, 0, 0, 0, iABC) /* OP_TFORLOOP */ 97 ,opmode(1, 0, 0, 0, 0, 0, iABC) /* OP_TFORLOOP */
96 ,opmode(0, 0, 0, 0, 0, 0, iAsBx) /* OP_TFORPREP */ 98 ,opmode(0, 0, 0, 0, 0, 0, iAsBx) /* OP_TFORPREP */
97 ,opmode(0, 0, 0, 0, 0, 0, iABx) /* OP_SETLIST */ 99 ,opmode(0, 0, 0, 0, 0, 0, iABx) /* OP_SETLIST */