summaryrefslogtreecommitdiffstats
path: root/ext/dl/lib/dl/cparser.rb
diff options
context:
space:
mode:
authorttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-07 09:45:02 +0000
committerttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-07 09:45:02 +0000
commitd888290695c898d7f175f7ff65f966d464c59b95 (patch)
treecf1236e58aba577543c8788adbca32293d2d4ad4 /ext/dl/lib/dl/cparser.rb
parent92abb38f46d5121c052d7f9865607c031e535ebd (diff)
downloadruby-d888290695c898d7f175f7ff65f966d464c59b95.tar.gz
ruby-d888290695c898d7f175f7ff65f966d464c59b95.tar.xz
ruby-d888290695c898d7f175f7ff65f966d464c59b95.zip
Improved DL::Handle#sym.
git-svn-id: http://svn.ruby-lang.org/repos/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.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 5b5dd5f47..c897d1b69 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+/)