Commit 8ddb5aa8 authored by Kurt B. Kaiser's avatar Kurt B. Kaiser

SF Bug 767794

"Break or continue outside loop causes crash"
parent 38362b50
...@@ -605,6 +605,8 @@ class ModifiedInterpreter(InteractiveInterpreter): ...@@ -605,6 +605,8 @@ class ModifiedInterpreter(InteractiveInterpreter):
if ok: if ok:
try: try:
msg, (dummy_filename, lineno, offset, line) = value msg, (dummy_filename, lineno, offset, line) = value
if not offset:
offset = 0
except: except:
ok = 0 ok = 0
if ok: if ok:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment