From 91dd419efb58527291369b15b7614ca77be7763a Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 3 Mar 2009 06:09:14 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 ++++- ext/dl/lib/dl/cparser.rb | 2 +- 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 +Tue Mar 3 15:09:12 2009 Nobuyoshi Nakada + + * 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