mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/dl/lib/dl/cparser.rb (DL::CParser#parse_signature): strips
spaces. based on a patch from Takashi Tamura in [ruby-dev:38398]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d3cf82e22a
commit
e102f89472
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Sun May 10 10:40:02 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/dl/lib/dl/cparser.rb (DL::CParser#parse_signature): strips
|
||||
spaces. based on a patch from Takashi Tamura in [ruby-dev:38398].
|
||||
|
||||
Sat May 9 19:23:46 2009 Tadayoshi Funaba <tadf@dotrb.org>
|
||||
|
||||
* lib/date.rb: use subsec instead of nsec.
|
||||
|
|
|
@ -41,7 +41,7 @@ module DL
|
|||
case signature
|
||||
when /^([\d\w@\*_\s]+)\(([\d\w\*_\s\,\[\]]*)\)$/
|
||||
ret = $1
|
||||
args = $2
|
||||
(args = $2).strip!
|
||||
ret = ret.split(/\s+/)
|
||||
args = args.split(/\s*,\s*/)
|
||||
func = ret.pop
|
||||
|
|
Loading…
Reference in a new issue