Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
a0b2c6ad
Commit
a0b2c6ad
authored
Nov 15, 2016
by
Paul Sokolovsky
Browse files
py/runtime: mp_resume: Fix exception handling for nanbox port.
parent
79d996a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
py/runtime.c
View file @
a0b2c6ad
...
...
@@ -1201,7 +1201,7 @@ mp_vm_return_kind_t mp_resume(mp_obj_t self_in, mp_obj_t send_value, mp_obj_t th
nlr_pop
();
return
MP_VM_RETURN_YIELD
;
}
else
{
*
ret_val
=
nlr
.
ret_val
;
*
ret_val
=
MP_OBJ_FROM_PTR
(
nlr
.
ret_val
)
;
return
MP_VM_RETURN_EXCEPTION
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment