Skip to content

Commit

Permalink
docs: 📝 Add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuamitchener committed Sep 28, 2020
1 parent 73dd1e2 commit 474801a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dashmips/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def run(program: MipsProgram, runnable: Callable[[MipsProgram], bool] = RUN_COND
try:
print(f"{program.current_line.filename}:{program.current_line.lineno}", file=sys.stderr, end="")
except IndexError:
# If user does not call syscall(10)
print(f"(dropped off bottom)", file=sys.stderr)
sys.exit()
except ZeroDivisionError as ex:
Expand Down

0 comments on commit 474801a

Please sign in to comment.