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:
Theodore Ateba 2022-12-24 22:33:57 +00:00
parent 7773ef599d
commit e31b74e1da
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ foreach my $line (@c_source) {
#****************************************************************************
# Check on EOL.
if (not ($line =~ /$cr$lf$/)) {
if (not ($line =~ /$lf$/)) {
error "detected malformed EOL";
}
$line =~ s/$cr//;