Add markers around generated code in error.c

This commit is contained in:
Manuel Pégourié-Gonnard 2014-04-11 18:06:44 +02:00 committed by Paul Bakker
parent 8ff17c544c
commit fe671f4aeb
3 changed files with 12 additions and 2 deletions

View file

@ -135,11 +135,11 @@ while (my $line = <GREP>)
if ($ll_old_define ne "")
{
$ll_code_check .= "#endif /* POLARSSL_${ll_old_define}_C */\n\n";
$ll_code_check .= "#endif /* POLARSSL_${ll_old_define}_C */\n";
}
if ($hl_old_define ne "")
{
$hl_code_check .= "#endif /* POLARSSL_${hl_old_define}_C */\n\n";
$hl_code_check .= "#endif /* POLARSSL_${hl_old_define}_C */\n";
}
$error_format =~ s/HEADER_INCLUDED\n/$headers/g;