From: Maksim Stsepanenka Date: Mon, 25 May 2020 13:13:20 +0000 (+0300) Subject: test1167: fixes in badsymbols.pl X-Git-Tag: curl-7_71_0~105 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=96f52abf809fc3f20eaa5ee9e4a4382e85520876;p=thirdparty%2Fcurl.git test1167: fixes in badsymbols.pl Closes #5442 --- diff --git a/tests/badsymbols.pl b/tests/badsymbols.pl index 05d325c3de..431e8e4f8d 100755 --- a/tests/badsymbols.pl +++ b/tests/badsymbols.pl @@ -76,7 +76,8 @@ sub scanenums { next; } # parse this! - $skipit = 0, + $skipit = 0; + next; } if($skipit) { next; @@ -88,8 +89,7 @@ sub scanenums { if(($_ !~ /\}(;|)/) && ($_ ne "typedef") && ($_ ne "enum") && - ($_ !~ /^[ \t]*$/) && - ($_ ne "#")) { + ($_ !~ /^[ \t]*$/)) { push @syms, $_; } }