[#6728] Ruby 1.3.3-990507 — matz <matz@...>

Ruby 1.3.3-990507 is out, check out:

34 messages 1999/05/07
[#6731] Re: Ruby 1.3.3-990507 — Katsuyuki Komatsu <komatsu@...> 1999/05/07

小松です。

[#6779] Re: private inner class (Re: Re: class def in class def) — Koji Oda <oda@...1.qnes.nec.co.jp>

小田@QNES です。

13 messages 1999/05/13

[#6789] Ruby 1.3.3-990513 — Yukihiro Matsumoto <matz@...>

Ruby 1.3.3-990513 is out, check out:

59 messages 1999/05/13
[#6811] Re: Ruby 1.3.3-990513 — Koji Oda <oda@...1.qnes.nec.co.jp> 1999/05/14

小田@QNES です。

[#6814] Re: Ruby 1.3.3-990513 — matz@... (Yukihiro Matsumoto) 1999/05/15

まつもと ゆきひろです

[#6821] Re: Ruby 1.3.3-990513 — Koji Oda <oda@...1.qnes.nec.co.jp> 1999/05/16

小田@QNES です。

[#6790] Re: Ruby 1.3.3-990513 — Katsuyuki Komatsu <komatsu@...> 1999/05/13

小松です。

[#6891] Ruby 1.3.3-990518 — Yukihiro Matsumoto <matz@...>

Ruby 1.3.3-990518 is out, check out:

19 messages 1999/05/18

[#6919] ext/socket/getaddrinfo.c tiny fix — Jun-ichiro itojun Hagino <itojun@...>

ext/socket/getaddrinfo.cに以下のpatchをおねがいします。

22 messages 1999/05/20
[#6921] Re: ext/socket/getaddrinfo.c tiny fix — Jun-ichiro itojun Hagino <itojun@...> 1999/05/20

[#7034] Ruby 1.3.4-990531 — Yukihiro Matsumoto <matz@...>

Ruby 1.3.4-990531 is out, check out:

25 messages 1999/05/31

[ruby-dev:6707] Re: Ruby 1.3.3-990430

From: Koji Arai <JCA02266@...>
Date: 1999-05-05 12:39:02 UTC
List: ruby-dev #6707
新井です。

細かな確認事項を1つ

$~.string_s というのがありますがstringの間違いでは
ないかと…

[ruby-dev:6072]で、まつもとさんが

>   string                マッチ対象の文字列

と書いてるので。(変な名前だなと思って記憶を辿って
みました)

もう2つ、非常に細かい指摘ですが、パッチを2点ほど

Index: error.c
===================================================================
RCS file: /home/cvs/ruby/error.c,v
retrieving revision 1.1.1.3.2.6
diff -u -p -r1.1.1.3.2.6 error.c
--- error.c	1999/03/24 08:52:25	1.1.1.3.2.6
+++ error.c	1999/05/04 12:34:00
@@ -514,7 +514,6 @@ Init_Exception()
     rb_eSystemExit  = rb_define_class("SystemExit", rb_eException);
     rb_eFatal  	    = rb_define_class("fatal", rb_eException);
     rb_eInterrupt   = rb_define_class("Interrupt", rb_eException);
-    rb_eInterrupt   = rb_define_class("Interrupt", rb_eException);
     rb_eSignal      = rb_define_class("SignalException", rb_eException);
 
     rb_eStandardError = rb_define_class("StandardError", rb_eException);
===================================================================

改行の前の\には改行を打ち消す効果がありましたが、
いつのまにかなくなってます。正規表現中では生きてい
るけど仕様変更かなぁ?

p '\
'	# => "\\\n"
p "\
"	# => "\n"
p /\
/	# => //

Index: parse.y
===================================================================
RCS file: /home/cvs/ruby/parse.y,v
retrieving revision 1.1.1.3.2.18
diff -u -p -r1.1.1.3.2.18 parse.y
--- parse.y	1999/04/27 07:11:46	1.1.1.3.2.18
+++ parse.y	1999/05/04 12:34:18
@@ -2142,6 +2142,8 @@ parse_string(func, term, paren)
 	}
 	else if (c == '\\') {
 	    c = nextc();
+	    if (c == '\n')
+		continue;
 	    if (c == term) {
 		tokadd(c);
 	    }
@@ -2213,6 +2215,9 @@ parse_qstring(term, paren)
 	else if (c == '\\') {
 	    c = nextc();
 	    switch (c) {
+	      case '\n':
+		continue;
+
 	      case '\\':
 		c = '\\';
 		break;
===================================================================

In This Thread