From f9cf402fbd1ba2ab00f5aa5f7d0ff5c9c0580dd5 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 12 Apr 2000 15:57:19 -0300 Subject: first implementation of FOR --- lopcodes.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lopcodes.h') diff --git a/lopcodes.h b/lopcodes.h index a40fcbde..91c74759 100644 --- a/lopcodes.h +++ b/lopcodes.h @@ -1,5 +1,5 @@ /* -** $Id: lopcodes.h,v 1.55 2000/04/07 13:12:50 roberto Exp roberto $ +** $Id: lopcodes.h,v 1.56 2000/04/07 19:35:31 roberto Exp roberto $ ** Opcodes for Lua virtual machine ** See Copyright Notice in lua.h */ @@ -148,6 +148,9 @@ OP_JMP,/* J - - PC+=s */ OP_PUSHNILJMP,/* - - nil PC++; */ +OP_FORPREP,/* J */ +OP_FORLOOP,/* J */ + OP_CLOSURE,/* A B v_b-v_1 closure(KPROTO[a], v_1-v_b) */ OP_SETLINE/* U - - LINE=u */ -- cgit v1.2.3-55-g6feb