Browse Source

Fix bug in brainfuck.py (The `-i` option wasn't effective)

master
miggazElquez 2 years ago
parent
commit
84f23ac729
  1. 2
      brainfuck.py

2
brainfuck.py

@ -199,7 +199,7 @@ def main():
interpret(open(sys.argv[1]).read())
elif len(sys.argv) == 3:
if sys.argv[1] == '-i': #oui c'est de lam erde comme manière de faire
interpret(sys.argv[1])
interpret(sys.argv[2])
else:
repl()

Loading…
Cancel
Save