code redistribution

This commit is contained in:
Roberto Ierusalimschy
2000-04-14 15:12:35 -03:00
parent c845ec777a
commit 870f61d299
3 changed files with 16 additions and 17 deletions

13
ldo.c
View File

@@ -1,5 +1,5 @@
/*
** $Id: ldo.c,v 1.71 2000/03/30 17:19:48 roberto Exp roberto $
** $Id: ldo.c,v 1.72 2000/03/30 20:55:50 roberto Exp roberto $
** Stack and Call structure of Lua
** See Copyright Notice in lua.h
*/
@@ -326,17 +326,6 @@ static int do_main (lua_State *L, ZIO *z, int bin) {
}
void luaD_gcIM (lua_State *L, const TObject *o) {
const TObject *im = luaT_getimbyObj(L, o, IM_GC);
if (ttype(im) != TAG_NIL) {
luaD_checkstack(L, 2);
*(L->top++) = *im;
*(L->top++) = *o;
luaD_call(L, L->top-2, 0);
}
}
#define MAXFILENAME 260 /* maximum part of a file name kept */
int lua_dofile (lua_State *L, const char *filename) {