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

ruby-changes:20867

From: yugui <ko1@a...>
Date: Thu, 11 Aug 2011 09:38:53 +0900 (JST)
Subject: [ruby-changes:20867] yugui:r32916 (ruby_1_9_2): merges r32272 from trunk into ruby_1_9_2.

yugui	2011-08-11 09:38:19 +0900 (Thu, 11 Aug 2011)

  New Revision: 32916

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

  Log:
    merges r32272 from trunk into ruby_1_9_2.
    --
     * lib/irb/ruby-lex.rb: recognize '\char' in ruby statement.

  Modified files:
    branches/ruby_1_9_2/ChangeLog
    branches/ruby_1_9_2/lib/irb/ruby-lex.rb
    branches/ruby_1_9_2/version.h

Index: ruby_1_9_2/ChangeLog
===================================================================
--- ruby_1_9_2/ChangeLog	(revision 32915)
+++ ruby_1_9_2/ChangeLog	(revision 32916)
@@ -1,3 +1,7 @@
+Tue Jun 28 21:44:58 2011  Keiju Ishitsuka  <keiju@i...>
+
+	* lib/irb/ruby-lex.rb: recognize '\char' in ruby statement.
+
 Tue Jun 28 20:39:29 2011  Hiroshi Nakamura  <nahi@r...>
 
 	* lib/debug.rb (var_list): Command 'var *' did not work on 1.9(!).
Index: ruby_1_9_2/lib/irb/ruby-lex.rb
===================================================================
--- ruby_1_9_2/lib/irb/ruby-lex.rb	(revision 32915)
+++ ruby_1_9_2/lib/irb/ruby-lex.rb	(revision 32916)
@@ -677,7 +677,7 @@
 	@continue = true
 	Token(TkSPACE)
       else
-	ungetc
+	read_escape
 	Token("\\")
       end
     end
Index: ruby_1_9_2/version.h
===================================================================
--- ruby_1_9_2/version.h	(revision 32915)
+++ ruby_1_9_2/version.h	(revision 32916)
@@ -1,5 +1,5 @@
 #define RUBY_VERSION "1.9.2"
-#define RUBY_PATCHLEVEL 301
+#define RUBY_PATCHLEVEL 302
 #define RUBY_VERSION_MAJOR 1
 #define RUBY_VERSION_MINOR 9
 #define RUBY_VERSION_TEENY 1

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

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