diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-12 08:38:12 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-12 08:38:12 +0000 |
commit | fbacf5faade7207dd4d2a25235bf0af5f04a7ce7 (patch) | |
tree | 4522e92604be44190102e2c7fac527494f343a23 /tool/ruby_vm/loaders | |
parent | 8a72c77c7920d129818b7b83bb4fa669cd7e3f7d (diff) |
tool/ruby_vm support for pre-2.0 BASERUBY
This was not requested :) but actually easier than the previous
so I just did it anyway.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/ruby_vm/loaders')
-rw-r--r-- | tool/ruby_vm/loaders/insns_def.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/ruby_vm/loaders/insns_def.rb b/tool/ruby_vm/loaders/insns_def.rb index 987e29640a..f83cc77fa1 100644 --- a/tool/ruby_vm/loaders/insns_def.rb +++ b/tool/ruby_vm/loaders/insns_def.rb @@ -42,7 +42,7 @@ grammar = %r' until scanner.eos? do next if scanner.scan(/\G#{grammar}\g<ws>+/o) - split = -> (v) { + split = lambda {|v| case v when /\Avoid\z/ then [] else |