Disabled comments in the repl

This commit is contained in:
2023-02-10 12:11:42 +00:00
parent a26a6a56d0
commit 66ea684a90
3 changed files with 13 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ void repl() {
Toy_Compiler compiler;
Toy_initLexer(&lexer, input);
Toy_private_setComments(&lexer, false); //BUGFIX: disable comments here
Toy_initParser(&parser, &lexer);
Toy_initCompiler(&compiler);