Update style check tools to avoid unexpected error with EOL.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15910 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
7773ef599d
commit
e31b74e1da
|
@ -91,7 +91,7 @@ foreach my $line (@c_source) {
|
||||||
|
|
||||||
#****************************************************************************
|
#****************************************************************************
|
||||||
# Check on EOL.
|
# Check on EOL.
|
||||||
if (not ($line =~ /$cr$lf$/)) {
|
if (not ($line =~ /$lf$/)) {
|
||||||
error "detected malformed EOL";
|
error "detected malformed EOL";
|
||||||
}
|
}
|
||||||
$line =~ s/$cr//;
|
$line =~ s/$cr//;
|
||||||
|
|
Loading…
Reference in New Issue