summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMaksim Stsepanenka <mstsepanenka@gmail.com>2020-05-25 16:13:20 +0300
committerDaniel Stenberg <daniel@haxx.se>2020-05-25 23:07:46 +0200
commit96f52abf809fc3f20eaa5ee9e4a4382e85520876 (patch)
tree3b4264d4469a0a0bc26fa0151bf90539766a0591 /tests
parentd844f2b9ff50cfa7bf7f5b445d9f7eed7e6c3015 (diff)
downloadcurl-96f52abf809fc3f20eaa5ee9e4a4382e85520876.tar.gz
test1167: fixes in badsymbols.pl
Closes #5442
Diffstat (limited to 'tests')
-rwxr-xr-xtests/badsymbols.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/badsymbols.pl b/tests/badsymbols.pl
index 05d325c3d..431e8e4f8 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, $_;
}
}