summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog5
-rw-r--r--ext/dl/lib/dl/cparser.rb2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 20d7f9906c..53b8d0384c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
-Tue Mar 3 15:07:18 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
+Tue Mar 3 15:09:12 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * ext/dl/lib/dl/cparser.rb (DL::CParser::parse_signature): fixed
+ variable name.
* ext/dl/lib/dl/pack.rb (DL::PackInfo): reduced redundan
initialization.
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