mirror of
https://github.com/curl/curl.git
synced 2026-08-26 20:43:52 +03:00
tidy-up: whitespace (more in Perl)
Follow-up to 8eab2b7086 #17896
Cherry-picked from #17877
Closes #17901
This commit is contained in:
parent
8eab2b7086
commit
ddcfd2d511
43 changed files with 84 additions and 98 deletions
|
|
@ -76,7 +76,7 @@ sub scanenums {
|
|||
die "Cannot preprocess $file";
|
||||
while(<H_IN>) {
|
||||
my ($line, $linenum) = ($_, $.);
|
||||
if( /^#(line|) (\d+) \"(.*)\"/) {
|
||||
if(/^#(line|) (\d+) \"(.*)\"/) {
|
||||
# if the included file isn't in our incdir, then we skip this section
|
||||
# until next #line
|
||||
#
|
||||
|
|
@ -94,7 +94,7 @@ sub scanenums {
|
|||
if(/^#/) {
|
||||
next;
|
||||
}
|
||||
if( /enum\s+(\S+\s+)?{/ .. /}/ ) {
|
||||
if(/enum\s+(\S+\s+)?{/ .. /}/) {
|
||||
s/^\s+//;
|
||||
chomp;
|
||||
s/[,\s].*//;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue