diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-03-12 16:14:06 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-03-12 16:14:06 -0300 |
commit | 25c557ec6367870c127e879cce8ed8fa21f34398 (patch) | |
tree | 37d322402a8163145a0f3a5728f98115402f352f /lfunc.c | |
parent | f292760f12022a83cf01e788482a264aeeb3c276 (diff) | |
download | lua-25c557ec6367870c127e879cce8ed8fa21f34398.tar.gz lua-25c557ec6367870c127e879cce8ed8fa21f34398.tar.bz2 lua-25c557ec6367870c127e879cce8ed8fa21f34398.zip |
first version of _ENV; no more global variables
Diffstat (limited to 'lfunc.c')
-rw-r--r-- | lfunc.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lfunc.c,v 2.18 2009/12/11 13:39:34 roberto Exp roberto $ | 2 | ** $Id: lfunc.c,v 2.19 2009/12/16 16:42:58 roberto Exp roberto $ |
3 | ** Auxiliary functions to manipulate prototypes and closures | 3 | ** Auxiliary functions to manipulate prototypes and closures |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -127,7 +127,6 @@ Proto *luaF_newproto (lua_State *L) { | |||
127 | f->linedefined = 0; | 127 | f->linedefined = 0; |
128 | f->lastlinedefined = 0; | 128 | f->lastlinedefined = 0; |
129 | f->source = NULL; | 129 | f->source = NULL; |
130 | f->envreg = NO_REG; | ||
131 | return f; | 130 | return f; |
132 | } | 131 | } |
133 | 132 | ||