Basic infile reading is working, untested

This commit is contained in:
2024-09-28 12:26:42 +10:00
parent 3d1d3b3b77
commit 57fb1ece81
6 changed files with 198 additions and 16 deletions

View File

@@ -31,7 +31,7 @@ static void advance(Toy_Parser* parser) {
parser->current = Toy_private_scanLexer(parser->lexer);
if (parser->current.type == TOY_TOKEN_ERROR) {
printError(parser, parser->current, "Read error");
printError(parser, parser->current, "Can't read the source code");
}
}