diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-09-20 05:31:51 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-09-20 05:31:51 +0000 |
commit | d6d444d6b2a5f111e0ffc0fee89b09ed76420d26 (patch) | |
tree | a6e71406f6b270fd6820cd6ecfca73952a02cd1e /tool | |
parent | ce079f165176d168ced2c81c79c9d1f889ab173a (diff) | |
download | ruby-d6d444d6b2a5f111e0ffc0fee89b09ed76420d26.tar.gz |
fix typo [ci skip]
This error does not happen right now so this typo is
not serious, unless you locally edit insns.def.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rw-r--r-- | tool/ruby_vm/helpers/scanner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/ruby_vm/helpers/scanner.rb b/tool/ruby_vm/helpers/scanner.rb index 8f7531abda..2ae5ad66b1 100644 --- a/tool/ruby_vm/helpers/scanner.rb +++ b/tool/ruby_vm/helpers/scanner.rb @@ -43,7 +43,7 @@ class RubyVM::Scanner def scan! re scan re or raise sprintf "parse error at %s:%d near:\n %s...", \ - @__FILE__, @__LINE__, @str[pos, 32] + @__FILE__, @__LINE__, @str[@pos, 32] end def [] key |