[#15625] rb_hash_initialize — Takaaki Tateishi <ttate@...>

立石です.

22 messages 2002/01/04
[#15627] Re: rb_hash_initialize — matz@... (Yukihiro Matsumoto) 2002/01/04

まつもと ゆきひろです

[#15628] Re: rb_hash_initialize — Takaaki Tateishi <ttate@...> 2002/01/04

立石です.

[#15685] undefined method `inherited' for false (NameError) — WATANABE Hirofumi <eban@...>

わたなべです。

13 messages 2002/01/15
[#15686] Re: undefined method `inherited' for false (NameError) — nobu.nakada@... 2002/01/15

なかだです。

[#15757] 文字列→整数変換 — nobu.nakada@...

なかだです。

30 messages 2002/01/25

[#15830] [ 提案 ] puts, print 等を IO から分離 — UENO Katsuhiro <unnie@...>

うえのです。

14 messages 2002/01/31

[ruby-dev:15777] Re: Bug? and Ruby/Tk patch

From: nobu.nakada@...
Date: 2002-01-27 18:01:43 UTC
List: ruby-dev #15777
なかだです。

At Mon, 28 Jan 2002 01:27:18 +0900,
nagai@ai.kyutech.ac.jp wrote:
> irb(main):004:0> TkGrid.rowconfigure (root, 0, 'weight'=>1, 'minsize'=>0)
> (irb):4: [BUG] Segmentation fault
> ruby 1.7.2 (2002-01-25) [i586-linux]
> Aborted (core dumped)
> [nagai@jyunyou nagai]$ 
> ----------------------------------------
> などとなってしまいました.
> メソッド名と括弧が隣接していると OK なのですが,
> 空白を挟んでしまうと落ちます.

たぶん、これで直るんではないかと。


Index: parse.y
===================================================================
RCS file: /cvs/ruby/src/ruby/parse.y,v
retrieving revision 1.144
diff -u -2 -p -r1.144 parse.y
--- parse.y	2002/01/21 07:44:06	1.144
+++ parse.y	2002/01/27 17:52:23
@@ -1143,5 +1143,5 @@ call_args2	: arg ',' args opt_block_arg
 			value_expr($1);
 			value_expr($6);
-			$$ = list_append(list_concat($1,$3), NEW_HASH($5));
+			$$ = list_append(list_concat(NEW_LIST($1), $3), NEW_HASH($5));
 			$$ = arg_blk_pass($$, $6);
 		    }


-- 
--- 僕の前にBugはない。
--- 僕の後ろにBugはできる。
    中田 伸悦

In This Thread