added module names for functions

This commit is contained in:
2020-12-09 12:23:16 -06:00
parent 9aa7fa1381
commit 6445dae04c
7 changed files with 20 additions and 12 deletions

View File

@@ -55,6 +55,7 @@ typedef struct CObjFunction {
int args;
int upvals;
CObjString *name;
CObjString *module; // name of the "module"
} CObjFunction;
typedef struct CObjCFunction {