From 0ac3d07ea64ce4bcb8b935fb80fbb2b72d6b8f43 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 30 Sep 2009 12:38:37 -0300 Subject: first implementation of lexical environments --- lobject.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lobject.h') diff --git a/lobject.h b/lobject.h index 8b93f70a..581a25a0 100644 --- a/lobject.h +++ b/lobject.h @@ -1,5 +1,5 @@ /* -** $Id: lobject.h,v 2.28 2009/07/15 18:37:19 roberto Exp roberto $ +** $Id: lobject.h,v 2.29 2009/09/28 16:32:50 roberto Exp roberto $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ @@ -261,6 +261,7 @@ typedef struct Proto { lu_byte numparams; lu_byte is_vararg; lu_byte maxstacksize; + lu_byte envreg; /* register in outer function with initial environment */ } Proto; -- cgit v1.2.3-55-g6feb