functions now may be declared with any "var" as a name;

therefore they do not have a "baptism" name.
Changes in debug API to acomodate that.
This commit is contained in:
Roberto Ierusalimschy
1995-10-26 12:21:56 -02:00
parent 39b071f7b1
commit 15d48576ea
8 changed files with 140 additions and 127 deletions

4
func.h
View File

@@ -2,6 +2,7 @@
#define func_h
#include "types.h"
#include "lua.h"
/*
** Header para funcoes.
@@ -13,12 +14,11 @@ typedef struct TFunc
int size;
Byte *code;
int lineDefined;
char *name1; /* function or method name (or null if main) */
char *name2; /* object name (or null if not method) */
char *fileName;
} TFunc;
Long luaI_funccollector (void);
void luaI_insertfunction (TFunc *f);
#endif