New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Catch parse errors in C #3248
Comments
dabroz
added a commit
to dabroz/mruby
that referenced
this issue
Dec 7, 2016
dabroz
added a commit
to dabroz/mruby
that referenced
this issue
Dec 7, 2016
matz
added a commit
that referenced
this issue
Dec 8, 2016
Promote load_exec to mruby API as mrb_load_exec (fixes #3248)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When reloading Ruby scripts, currently I need to parse them twice to be able to catch parse errors:
all because
mrb_load_nstring_cxt
is defined asand
load_exec
in not in the mruby API.Is there a different way to do it without parsing the file twice, or could we promote
load_exec
to API?The text was updated successfully, but these errors were encountered: