wip
This commit is contained in:
10
src/main.rs
10
src/main.rs
@@ -88,13 +88,13 @@ fn run_logic() -> Result<(), StationlangError> {
|
|||||||
let compiler = Compiler::new(parser, args.stack_size, &mut writer);
|
let compiler = Compiler::new(parser, args.stack_size, &mut writer);
|
||||||
|
|
||||||
compiler.compile()?;
|
compiler.compile()?;
|
||||||
|
|
||||||
writer.flush()?;
|
writer.flush()?;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() -> Result<(), StationlangError> {
|
||||||
if let Err(e) = run_logic() {
|
run_logic()?;
|
||||||
eprintln!("\n{}", e);
|
|
||||||
}
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user