summaryrefslogtreecommitdiff
path: root/lfunc.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-02-01 15:40:48 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-02-01 15:40:48 -0200
commite506b864cdc522ed7bf33e81d785fcfbd40a0368 (patch)
treec62865ee026136cd8784658110e8928127ad276c /lfunc.c
parent9a231afa9721e87ae5f9790dedcb73cd58472a3f (diff)
downloadlua-github-e506b864cdc522ed7bf33e81d785fcfbd40a0368.tar.gz
no need for tags in boxed values :-(
Diffstat (limited to 'lfunc.c')
-rw-r--r--lfunc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lfunc.c b/lfunc.c
index 4e7facb0..0a145c67 100644
--- a/lfunc.c
+++ b/lfunc.c
@@ -1,5 +1,5 @@
/*
-** $Id: lfunc.c,v 1.37 2001/01/19 13:20:30 roberto Exp roberto $
+** $Id: lfunc.c,v 1.38 2001/01/29 19:34:02 roberto Exp roberto $
** Auxiliary functions to manipulate prototypes and closures
** See Copyright Notice in lua.h
*/
@@ -19,7 +19,6 @@
Closure *luaF_newclosure (lua_State *L, int nelems) {
Closure *c = (Closure *)luaM_malloc(L, sizeclosure(nelems));
- c->v.ttype = LUA_TFUNCTION;
c->next = G(L)->rootcl;
G(L)->rootcl = c;
c->mark = c;