mirror of
https://github.com/Noratrieb/brainfuck.git
synced 2026-01-16 06:15:02 +01:00
fix profiling (still not entirely good)
This commit is contained in:
parent
9d140c45d7
commit
6575e09957
5 changed files with 58 additions and 26 deletions
|
|
@ -20,7 +20,7 @@ fn main() {
|
|||
let stdin = io::stdin();
|
||||
let stdin = stdin.lock();
|
||||
|
||||
brainfuck::run(&file, stdout, stdin, UseProfile::No).unwrap_or_else(|_| {
|
||||
brainfuck::run(&file, stdout, stdin, UseProfile::Yes).unwrap_or_else(|_| {
|
||||
eprintln!("error: Failed to parse brainfuck code");
|
||||
process::exit(1);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue