1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

test1167: fixes in badsymbols.pl

Closes #5442
This commit is contained in:
Maksim Stsepanenka 2020-05-25 16:13:20 +03:00 committed by Daniel Stenberg
parent d844f2b9ff
commit 96f52abf80
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -76,7 +76,8 @@ sub scanenums {
next; next;
} }
# parse this! # parse this!
$skipit = 0, $skipit = 0;
next;
} }
if($skipit) { if($skipit) {
next; next;
@ -88,8 +89,7 @@ sub scanenums {
if(($_ !~ /\}(;|)/) && if(($_ !~ /\}(;|)/) &&
($_ ne "typedef") && ($_ ne "typedef") &&
($_ ne "enum") && ($_ ne "enum") &&
($_ !~ /^[ \t]*$/) && ($_ !~ /^[ \t]*$/)) {
($_ ne "#")) {
push @syms, $_; push @syms, $_;
} }
} }