Skip to content

Commit b23cd47

Browse files
fix: close missing brace in execute_program OMC_VM if-block (omnimcode-cli)
The if std::env::var("OMC_VM") block in execute_program was missing its closing brace, causing a parse error that prevented the CLI from compiling. This was a pre-existing breakage introduced when the VM dispatch path was added; the closing } was never written.
1 parent 7a3fbe3 commit b23cd47

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

omnimcode-cli/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,6 +1072,7 @@ fn execute_program(source: &str) -> Result<(), String> {
10721072
}
10731073

10741074
let mut interpreter = Interpreter::new();
1075+
interpreter.set_source_code(source.to_string());
10751076
maybe_register_python(&mut interpreter);
10761077
maybe_register_jit(&mut interpreter, &statements);
10771078
// OMC_HEAL_RETRY=1 — catch runtime errors after execution starts,

0 commit comments

Comments
 (0)