refactor: deleted the delusional code

This commit is contained in:
Artemy 2022-08-11 14:34:18 +03:00
parent 5d8d5f415a
commit b5970aaac6

View file

@ -21,11 +21,7 @@ fn main() {
if args.verbose == true { if args.verbose == true {
println!("Running: {}\n", args.file); println!("Running: {}\n", args.file);
} }
let file_input = fs::read_to_string(args.file) let file_input = fs::read_to_string(args.file).expect("File reading error");
.expect("File reading error")
.parse()
.unwrap();
let mut onint = Interpreter::new(file_input); let mut onint = Interpreter::new(file_input);
onint.run(); onint.run();