Rest parameter working

This commit is contained in:
2022-08-27 11:59:54 +01:00
parent 85f3dfbf1d
commit 90e5a5d08b
7 changed files with 77 additions and 10 deletions

View File

@@ -19,6 +19,7 @@ typedef enum {
LITERAL_TYPE,
LITERAL_TYPE_INTERMEDIATE, //used to process types in the compiler only
LITERAL_FUNCTION_INTERMEDIATE, //used to process functions in the compiler only
LITERAL_FUNCTION_ARG_REST, //used to process function rest parameters
// LITERAL_FUNCTION_NATIVE, //for handling native functions
LITERAL_ANY, //used by the type system only
} LiteralType;