summaryrefslogtreecommitdiff
path: root/ext/dl
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-03 06:09:14 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-03 06:09:14 +0000
commit91dd419efb58527291369b15b7614ca77be7763a (patch)
tree00377048dd3a75b6e97f413fcfd6d42834c23e66 /ext/dl
parentdaa2217d48e8076d07f4d4c352b7932ecbb5ad67 (diff)
* ext/dl/lib/dl/cparser.rb (DL::CParser::parse_signature): fixed
variable name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl')
-rw-r--r--ext/dl/lib/dl/cparser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/lib/dl/cparser.rb b/ext/dl/lib/dl/cparser.rb
index c897d1b69f..39277bbc9a 100644
--- a/ext/dl/lib/dl/cparser.rb
+++ b/ext/dl/lib/dl/cparser.rb
@@ -52,7 +52,7 @@ module DL
ret = ret.join(" ")
return [func, parse_ctype(ret, tymap), args.collect{|arg| parse_ctype(arg, tymap)}]
else
- raise(RuntimeError,"can't parse the function prototype: #{proto}")
+ raise(RuntimeError,"can't parse the function prototype: #{signature}")
end
end