Skip to content

Added debug infomation section into .mrb file#1082

Merged
matz merged 1 commit into
mruby:masterfrom
masuidrive:add_debug_info
Mar 27, 2013
Merged

Added debug infomation section into .mrb file#1082
matz merged 1 commit into
mruby:masterfrom
masuidrive:add_debug_info

Conversation

@masuidrive
Copy link
Copy Markdown
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 added a commit that referenced this pull request Mar 27, 2013
Added debug infomation section into .mrb file
@matz matz merged commit e265d7c into mruby:master Mar 27, 2013
@masuidrive
Copy link
Copy Markdown
Contributor Author

"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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants