From 30dd3a2dbc9f503dfdb119e00635aff64715bd46 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy <roberto@inf.puc-rio.br> Date: Mon, 26 Feb 1996 14:06:39 -0300 Subject: small changes (preparing for new module of pre-compilation) --- func.c | 4 ++++ func.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/func.c b/func.c index 8180cd39..8762b1f6 100644 --- a/func.c +++ b/func.c @@ -19,8 +19,12 @@ static int maxcurrvars = 0; */ void luaI_initTFunc (TFunc *f) { + f->next = NULL; + f->marked = 0; + f->size = 0; f->code = NULL; f->lineDefined = 0; + f->fileName = NULL; f->locvars = NULL; } diff --git a/func.h b/func.h index 8208f114..47763a31 100644 --- a/func.h +++ b/func.h @@ -17,7 +17,7 @@ typedef struct LocVar typedef struct TFunc { struct TFunc *next; - char marked; + int marked; int size; Byte *code; int lineDefined; -- cgit v1.2.3-55-g6feb