From e41936441bf9fcab9fb4d8ceb70cc73d2a38c9c0 Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 6 Apr 2010 03:01:52 +0000 Subject: Surpress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/dl/lib/dl/cparser.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/dl/lib/dl') diff --git a/ext/dl/lib/dl/cparser.rb b/ext/dl/lib/dl/cparser.rb index 2e78da5ad6..be23ab4567 100644 --- a/ext/dl/lib/dl/cparser.rb +++ b/ext/dl/lib/dl/cparser.rb @@ -39,7 +39,7 @@ module DL tymap ||= {} signature = signature.gsub(/\s+/, " ").strip case signature - when /^([\d\w@\*_\s]+)\(([\d\w\*_\s\,\[\]]*)\)$/ + when /^([\w@\*\s]+)\(([\w\*\s\,\[\]]*)\)$/ ret = $1 (args = $2).strip! ret = ret.split(/\s+/) -- cgit v1.2.3