From 96f52abf809fc3f20eaa5ee9e4a4382e85520876 Mon Sep 17 00:00:00 2001 From: Maksim Stsepanenka Date: Mon, 25 May 2020 16:13:20 +0300 Subject: [PATCH] test1167: fixes in badsymbols.pl Closes #5442 --- tests/badsymbols.pl | 6 +++--- 1 file 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, $_; } }