Added silent cmd args

Fixed #145
This commit is contained in:
2024-11-10 10:27:50 +11:00
parent 1608a13b43
commit 436bd3ffca
4 changed files with 102 additions and 29 deletions

View File

@@ -14,9 +14,14 @@ typedef struct Toy_Parser {
bool error;
bool panic; //currently processing an error
//configs
bool removeAssert;
} Toy_Parser;
TOY_API void Toy_bindParser(Toy_Parser* parser, Toy_Lexer* lexer);
TOY_API Toy_Ast* Toy_scanParser(Toy_Bucket** bucketHandle, Toy_Parser* parser);
TOY_API void Toy_resetParser(Toy_Parser* parser);
//configure certain options
TOY_API void Toy_configureParser(Toy_Parser* parser, bool removeAssert);