Packaged toy as a dll

This commit is contained in:
2022-09-11 07:56:06 +01:00
parent 5b420e0799
commit 95ba865cab
14 changed files with 136 additions and 43 deletions

View File

@@ -59,9 +59,11 @@ static void consume(Parser* parser, TokenType tokenType, const char* msg) {
}
static void synchronize(Parser* parser) {
#ifndef TOY_EXPORT
if (command.verbose) {
fprintf(stderr, ERROR "synchronizing\n" RESET);
}
#endif
while (parser->current.type != TOKEN_EOF) {
switch(parser->current.type) {