mirror of
https://github.com/CPunch/Cosmo.git
synced 2026-01-02 13:50:18 +00:00
Added variadic functions
TOKEN_DOT_DOT_DOT was added to the lexer variadic.cosmo was added to the examples directory
This commit is contained in:
@@ -128,6 +128,7 @@ CObjFunction *cosmoO_newFunction(CState *state) {
|
||||
CObjFunction *func = (CObjFunction*)cosmoO_allocateBase(state, sizeof(CObjFunction), COBJ_FUNCTION);
|
||||
func->args = 0;
|
||||
func->upvals = 0;
|
||||
func->variadic = false;
|
||||
func->name = NULL;
|
||||
func->module = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user