Skip to content
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

errors #1

Open
texrg opened this issue Jan 25, 2017 · 0 comments
Open

errors #1

texrg opened this issue Jan 25, 2017 · 0 comments

Comments

@texrg
Copy link

texrg commented Jan 25, 2017

$ hexdump -C t1.mrb
00000000 52 49 54 45 30 30 30 33 9a a8 00 00 00 cd 4d 41 |RITE0003......MA|
00000010 54 5a 30 30 30 30 49 52 45 50 00 00 00 96 30 30 |TZ0000IREP....00|
00000020 30 30 00 00 00 46 00 01 00 04 00 01 00 00 00 07 |00...F..........|
00000030 00 80 00 48 01 00 00 c0 00 80 00 46 00 80 00 06 |...H.......F....|
00000040 01 00 00 3d 00 80 00 a0 00 00 00 4a 00 00 00 01 |...=.......J....|
00000050 00 00 05 77 6f 72 6c 64 00 00 00 01 00 05 68 65 |...world......he|
00000060 6c 6c 6f 00 00 00 00 4a 00 03 00 06 00 00 00 00 |llo....J........|
00000070 00 07 00 00 02 00 00 26 01 80 00 06 02 00 00 3d |.......&.......=|
00000080 02 80 40 01 02 01 40 3e 01 80 00 a0 01 80 00 29 |..@...@>.......)|
00000090 00 00 00 02 00 00 07 48 65 6c 6c 6f 2c 20 00 00 |.......Hello, ..|
000000a0 00 00 00 00 01 00 04 70 75 74 73 00 4c 56 41 52 |.......puts.LVAR|
000000b0 00 00 00 19 00 00 00 01 00 03 6d 73 67 00 00 00 |..........msg...|
000000c0 01 ff ff 00 00 45 4e 44 00 00 00 00 08 |.....END.....|
000000cd

$bin/mrb_parser ./t1.mrb
mrb_parser-0.1.0/lib/mrb_parser/utils.rb:17:in read_format': undefined method unpack' for nil:NilClass (NoMethodError)
from / mrb_parser-0.1.0/lib/mrb_parser/utils.rb:25:in read_uint8' from / /mrb_parser-0.1.0/lib/mrb_parser/irep_record.rb:48:in block in parse_pool'
...

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

No branches or pull requests

1 participant