Fixed the parser - whoops

This commit is contained in:
2023-01-25 13:17:57 +00:00
parent 5183037a99
commit d3adac8a59
2 changed files with 3 additions and 2 deletions

View File

@@ -112,7 +112,8 @@ typedef struct {
PrecedenceRule precedence;
} ParseRule;
static ParseRule parseRules[];
//no static!
ParseRule parseRules[];
//forward declarations
static void declaration(Toy_Parser* parser, Toy_ASTNode** nodeHandle);