1
0
Fork 0
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:
nobu 2009-05-10 01:40:04 +00:00
parent d3cf82e22a
commit e102f89472
2 changed files with 6 additions and 1 deletions

View file

@ -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.

View file

@ -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