Skip to content

Commit bb8eaac

Browse files
committed
feat: Create bytecode generator with initial support for AST expressions and compiler infrastructure.
1 parent 247c3a1 commit bb8eaac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/compiler/bytecode_gen.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ static void genFunction(BytecodeGen* gen, Stmt* stmt, bool defineVar) {
488488
pop(&vm);
489489

490490
// bool isInitDebug = (stmt->as.func_decl.name != NULL && strcmp(stmt->as.func_decl.name, "init") == 0);
491-
// fprintf(stderr, "Compiling function '%s' (isInit: %d)\n", stmt->as.func_decl.name ? stmt->as.func_decl.name : "NULL", isInitDebug);
491+
// fprintf(stderr, "Compiling function '%s' (isInit: %d)\n", stmt->as.func_decl.name ? stmt->as.func_decl.name : "NULL", isInitDebug);
492492

493493
beginScope(gen);
494494

0 commit comments

Comments
 (0)