Added debug infomation section into .mrb file #1082

Merged
merged 1 commit into from Mar 27, 2013

Projects

None yet

3 participants

@masuidrive
Contributor

This patch added line numbers section into .mrb file.
mrbc supported -g option.
The .mrb file has backward compatible.

./bin/mrbc -g a.rb && ./bin/mruby -b a.mrb
    [0] a.rb:4
a.rb:4: undefined method 'a' for main (NoMethodError)
@matz matz merged commit e265d7c into mruby:master Mar 27, 2013

1 check passed

default The Travis build passed
Details
@monaka
Contributor

Argument "len" is required?

@masuidrive
Contributor

"len" don't need it. It's my mistake.
I'll remove and send pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment