diff options
author | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-02-07 09:45:02 +0000 |
---|---|---|
committer | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-02-07 09:45:02 +0000 |
commit | 7bcc13550437e1c4198fbf6212abc8e7672e1adb (patch) | |
tree | cf1236e58aba577543c8788adbca32293d2d4ad4 /ext/dl/lib/dl/cparser.rb | |
parent | 48a86f5ffafb2744fac609714fee74f1872df84b (diff) |
Improved DL::Handle#sym.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/lib/dl/cparser.rb')
-rw-r--r-- | ext/dl/lib/dl/cparser.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/lib/dl/cparser.rb b/ext/dl/lib/dl/cparser.rb index 5b5dd5f478..c897d1b69f 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 /^([\d\w@\*_\s]+)\(([\d\w\*_\s\,\[\]]*)\)$/ ret = $1 args = $2 ret = ret.split(/\s+/) |