Better support multiline comments for MBEDTLS_ERR_xxx
They were recognized by a prior commit. In this commit, replace line breaks (with optional comment continuation marker) by spaces. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
47b09567ab
commit
05aa543b73
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ foreach my $file (@files) {
|
|||
if defined($before) && defined($after);
|
||||
my $description = (defined($before) ? $before : $after);
|
||||
$description =~ s/^\s+//;
|
||||
$description =~ s/\n( \*)?//g;
|
||||
$description =~ s/\n( *\*)? */ /g;
|
||||
$description =~ s/\.?\s+$//;
|
||||
push @matches, [$name, $value, $description];
|
||||
++$found;
|
||||
|
|
Loading…
Reference in a new issue