From 33061b45b4555de324b63c53a7151cc5ad599384 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 24 Jun 2002 07:20:42 +0000 Subject: * eval.c (rb_eval): NODE_EVSTR is no longer used. * eval.c (eval): not enforce to make assigned variables dynamic. * parse.y (string): split rules to strings/xstring/regexp to allow arbitrary statements inside string interpolation. * parse.y (here_document): splitted into three phases. * parse.y (literall_append, literal_concat): added. append/concatinate string literals. * sample/test.rb (valid_syntax): adjust line number for BEGIN. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/tcltklib/sample/sample1.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/tcltklib/sample') diff --git a/ext/tcltklib/sample/sample1.rb b/ext/tcltklib/sample/sample1.rb index 28ba7b547a..21ee0f29d5 100644 --- a/ext/tcltklib/sample/sample1.rb +++ b/ext/tcltklib/sample/sample1.rb @@ -535,7 +535,7 @@ class Test1 # clipboard をクリア. clipboard.e("clear") # selection から文字列を読み込み clipboard に追加する. - clipboard.e("append {#{selection.e(\"get\")}}")})) + clipboard.e("append {#{selection.e('get')}}")})) me1.e("add command -label {selection -> clipboard} -command",c) cb.push(c = TclTkCallback.new(ip, proc{ # li1 をクリア. -- cgit v1.2.3