Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86237
b: refs/heads/master
c: 00d6296
h: refs/heads/master
i:
  86235: 8c9a058
v: v3
  • Loading branch information
Richard Kennedy authored and Linus Torvalds committed Feb 24, 2008
1 parent c953d68 commit deea218
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ff10e5dc1781cd0121f8ee936234c222ff15c105
refs/heads/master: 00d6296145c6b671a9886e380efc24f2731d856a
6 changes: 3 additions & 3 deletions trunk/scripts/kernel-doc
Original file line number Diff line number Diff line change
Expand Up @@ -1512,13 +1512,13 @@ sub create_parameterlist($$$) {
# corresponding data structures "correctly". Catch it later in
# output_* subs.
push_parameter($arg, "", $file);
} elsif ($arg =~ m/\(.*\*/) {
} elsif ($arg =~ m/\(.+\)\s*\(/) {
# pointer-to-function
$arg =~ tr/#/,/;
$arg =~ m/[^\(]+\(\*\s*([^\)]+)\)/;
$arg =~ m/[^\(]+\(\*?\s*(\w*)\s*\)/;
$param = $1;
$type = $arg;
$type =~ s/([^\(]+\(\*)$param/$1/;
$type =~ s/([^\(]+\(\*?)\s*$param/$1/;
push_parameter($param, $type, $file);
} elsif ($arg) {
$arg =~ s/\s*:\s*/:/g;
Expand Down

0 comments on commit deea218

Please sign in to comment.