ruby-changes:53850
From: nobu <ko1@a...>
Date: Wed, 28 Nov 2018 15:13:03 +0900 (JST)
Subject: [ruby-changes:53850] nobu:r66068 (trunk): Remove useless backslash
nobu 2018-11-28 15:12:57 +0900 (Wed, 28 Nov 2018) New Revision: 66068 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66068 Log: Remove useless backslash * lib/optparse.rb (OptionParser::Switch#compsys): remove useless backslash which just confuse ruby-mode.el. Modified files: trunk/lib/optparse.rb Index: lib/optparse.rb =================================================================== --- lib/optparse.rb (revision 66067) +++ lib/optparse.rb (revision 66068) @@ -654,7 +654,7 @@ class OptionParser https://github.com/ruby/ruby/blob/trunk/lib/optparse.rb#L654 return if sopts.empty? and lopts.empty? # completely hidden (sopts+lopts).each do |opt| - # "(-x -c -r)-l[left justify]" \ + # "(-x -c -r)-l[left justify]" if /^--\[no-\](.+)$/ =~ opt o = $1 yield("--#{o}", desc.join("")) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/