diff options
Diffstat (limited to 'autodoc.pl')
-rw-r--r-- | autodoc.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autodoc.pl b/autodoc.pl index 1856b3c962..56986ae2a2 100644 --- a/autodoc.pl +++ b/autodoc.pl @@ -106,7 +106,7 @@ HDR_DOC: if ($in =~ /^=for\s+apidoc\s+(.*?)\s*\n/) { my $proto = $1; $proto = "||$proto" unless $proto =~ /\|/; - my($flags, $ret, $name, @args) = split /\|/, $proto; + my($flags, $ret, $name, @args) = split /\s*\|\s*/, $proto; my $docs = ""; DOC: while (defined($doc = $get_next_line->())) { |