From d6d444d6b2a5f111e0ffc0fee89b09ed76420d26 Mon Sep 17 00:00:00 2001 From: shyouhei Date: Thu, 20 Sep 2018 05:31:51 +0000 Subject: 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 --- tool/ruby_vm/helpers/scanner.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tool') 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 -- cgit v1.2.3