[前][次][番号順一覧][スレッド一覧]

ruby-changes:26519

From: zzak <ko1@a...>
Date: Sun, 23 Dec 2012 15:25:37 +0900 (JST)
Subject: [ruby-changes:26519] zzak:r38570 (trunk): * lib/irb/ruby-lex.rb: Add handling for %i and %I quoting to irb

zzak	2012-12-23 15:25:22 +0900 (Sun, 23 Dec 2012)

  New Revision: 38570

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38570

  Log:
    * lib/irb/ruby-lex.rb: Add handling for %i and %I quoting to irb
      Patch by flori [ruby-core:49550] [Bug #7392] [Github Issue #157]

  Modified files:
    trunk/ChangeLog
    trunk/lib/irb/ruby-lex.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 38569)
+++ ChangeLog	(revision 38570)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Dec 23 15:25:00 2012  Zachary Scott  <zachary@z...>
+
+	* lib/irb/ruby-lex.rb: Add handling for %i and %I quoting to irb
+	  Patch by flori [ruby-core:49550] [Bug #7392] [Github Issue #157]
+
 Sun Dec 23 15:05:48 2012  Nobuyoshi Nakada  <nobu@r...>
 
 	* vm_eval.c (rb_check_funcall_with_hook): rb_check_funcall with hook
Index: lib/irb/ruby-lex.rb
===================================================================
--- lib/irb/ruby-lex.rb	(revision 38569)
+++ lib/irb/ruby-lex.rb	(revision 38570)
@@ -312,6 +312,8 @@ class RubyLex https://github.com/ruby/ruby/blob/trunk/lib/irb/ruby-lex.rb#L312
     "r" => "/",
     "w" => "]",
     "W" => "]",
+    "i" => "]",
+    "I" => "]",
     "s" => ":"
   }
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]