Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119535
b: refs/heads/master
c: ced6909
h: refs/heads/master
i:
  119533: c6b359e
  119531: 1d7e946
  119527: c9ae123
  119519: ddaf1e2
v: v3
  • Loading branch information
Randy Dunlap authored and Linus Torvalds committed Dec 2, 2008
1 parent 7fce5e2 commit 4a8db40
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 6ff2d39b91aec3dcae951afa982059e3dd9b49dc
refs/heads/master: ced69090c573f1db253fb6b84ec537f4f3d7e2f4
10 changes: 7 additions & 3 deletions trunk/scripts/kernel-doc
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,10 @@ sub dump_section {
# print STDERR "parameter def '$1' = '$contents'\n";
$name = $1;
$parameterdescs{$name} = $contents;
} elsif ($name eq "@\.\.\.") {
# print STDERR "parameter def '...' = '$contents'\n";
$name = "...";
$parameterdescs{$name} = $contents;
} else {
# print STDERR "other section '$name' = '$contents'\n";
if (defined($sections{$name}) && ($sections{$name} ne "")) {
Expand Down Expand Up @@ -1588,12 +1592,12 @@ sub push_parameter($$$) {

if ($type eq "" && $param =~ /\.\.\.$/)
{
$type="";
$parameterdescs{$param} = "variable arguments";
if (!defined $parameterdescs{$param} || $parameterdescs{$param} eq "") {
$parameterdescs{$param} = "variable arguments";
}
}
elsif ($type eq "" && ($param eq "" or $param eq "void"))
{
$type="";
$param="void";
$parameterdescs{void} = "no arguments";
}
Expand Down

0 comments on commit 4a8db40

Please sign in to comment.