better handling of trailing spaces in magic unit attributes
This commit is contained in:
parent
9bf0fccd53
commit
397b97861e
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ foreach my $file (@ARGV) {
|
|||
# part of multi-line
|
||||
$str .= $_;
|
||||
|
||||
} elsif (m/(\S+)\s*=\s*(.*)$/) {
|
||||
} elsif (m/(\S+)\s*=\s*(.*?)\s*$/) {
|
||||
# single-line non-quoted string
|
||||
die "nested string in $file" if defined $str;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue