mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-27 02:15:34 +00:00
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
80605bba4b
commit
d15ed3170b
|
@ -83,7 +83,7 @@ foreach my $file (@files) {
|
||||||
if defined($before) && defined($after);
|
if defined($before) && defined($after);
|
||||||
my $description = (defined($before) ? $before : $after);
|
my $description = (defined($before) ? $before : $after);
|
||||||
$description =~ s/^\s+//;
|
$description =~ s/^\s+//;
|
||||||
$description =~ s/\n( \*)?//g;
|
$description =~ s/\n( *\*)? */ /g;
|
||||||
$description =~ s/\.?\s+$//;
|
$description =~ s/\.?\s+$//;
|
||||||
push @matches, [$name, $value, $description];
|
push @matches, [$name, $value, $description];
|
||||||
++$found;
|
++$found;
|
||||||
|
|
Loading…
Reference in a new issue