aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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, $_;
}
}