Updated and revised some tests

This commit is contained in:
2026-05-19 11:24:49 +10:00
parent 414a9d6194
commit a0d75b3c70
20 changed files with 49 additions and 54 deletions
+1 -2
View File
@@ -1287,8 +1287,7 @@ static unsigned int writeBytecodeFromAst(Toy_Bytecode** mb, Toy_Ast* ast) {
break;
case TOY_AST_END:
fprintf(stderr, TOY_CC_ERROR "COMPILER ERROR: Invalid AST type found: Unknown 'end'\n" TOY_CC_RESET);
(*mb)->panic = true;
//NO-OP
break;
}