summaryrefslogtreecommitdiffstats
path: root/ext/dl
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-06-24 07:20:42 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-06-24 07:20:42 +0000
commit8cf97c2c39526316519ce39ec778624b9672ed2b (patch)
treedd0fc8bd441ae6ac82925bfd71fba7c955186f73 /ext/dl
parentd8e069567b30411d6587a47bf9b1051677dba077 (diff)
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@2590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl')
-rw-r--r--ext/dl/mkcallback.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/mkcallback.rb b/ext/dl/mkcallback.rb
index 1004454fc..b7ea1718d 100644
--- a/ext/dl/mkcallback.rb
+++ b/ext/dl/mkcallback.rb
@@ -14,7 +14,7 @@ def mkfunc(rettype, fnum, argc)
ret_code =
if( DLTYPE[rettype][:c2rb] )
- " return #{DLTYPE[rettype][:rb2c][\"retval\"]};"
+ " return #{DLTYPE[rettype][:rb2c]['retval']};"
else
" /* no return value */"
end