add mulitple variable declaration, with null default. add call

This commit is contained in:
2025-06-05 04:04:41 +01:00
parent 7b76b0d888
commit 61d8bc61c3
14 changed files with 186 additions and 111 deletions

View File

@@ -8,10 +8,12 @@ typedef struct {
bool is_function;
DArray * parameters; // string[]
ParsedValue * from;
} ParsedDeclaration;
} ParsedSingleDeclaration;
// Function declaration for parsing an identifier
ParsedValue *parse_declaration(char *file, DArray *tokens,
size_t *index);
void free_declaration(void *ptr);
#endif // DECLARATION_H