mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Fixed the parser - whoops
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
#define TOY_VERSION_MAJOR 0
|
#define TOY_VERSION_MAJOR 0
|
||||||
#define TOY_VERSION_MINOR 8
|
#define TOY_VERSION_MINOR 8
|
||||||
#define TOY_VERSION_PATCH 0
|
#define TOY_VERSION_PATCH 1
|
||||||
#define TOY_VERSION_BUILD __DATE__ " " __TIME__
|
#define TOY_VERSION_BUILD __DATE__ " " __TIME__
|
||||||
|
|
||||||
//platform-specific specifications
|
//platform-specific specifications
|
||||||
|
|||||||
@@ -112,7 +112,8 @@ typedef struct {
|
|||||||
PrecedenceRule precedence;
|
PrecedenceRule precedence;
|
||||||
} ParseRule;
|
} ParseRule;
|
||||||
|
|
||||||
static ParseRule parseRules[];
|
//no static!
|
||||||
|
ParseRule parseRules[];
|
||||||
|
|
||||||
//forward declarations
|
//forward declarations
|
||||||
static void declaration(Toy_Parser* parser, Toy_ASTNode** nodeHandle);
|
static void declaration(Toy_Parser* parser, Toy_ASTNode** nodeHandle);
|
||||||
|
|||||||
Reference in New Issue
Block a user