Added assert() to base library

also fixed regression in call()
This commit is contained in:
2020-12-27 13:36:17 -06:00
parent e7212b939d
commit 9012f9231b
5 changed files with 33 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ typedef struct CObjFunction {
CChunk chunk;
int args;
int upvals;
int variadic;
bool variadic;
CObjString *name;
CObjString *module; // name of the "module"
} CObjFunction;