From: Daniel Stenberg Date: Mon, 21 Dec 2020 21:49:42 +0000 (+0100) Subject: tests/badsymbols.pl: ignore stand-alone single hash lines X-Git-Tag: curl-7_75_0~183 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e99e5ab820a36f9c3b2aa96d09f91c73f56cbd9b;p=thirdparty%2Fcurl.git tests/badsymbols.pl: ignore stand-alone single hash lines Bug: https://curl.se/mail/lib-2020-12/0084.html Reported-by: Dennis Clarke Assisted-by: Jay Satiro Closes #6355 --- diff --git a/tests/badsymbols.pl b/tests/badsymbols.pl index bad037975d..d9766cad71 100755 --- a/tests/badsymbols.pl +++ b/tests/badsymbols.pl @@ -90,6 +90,9 @@ sub scanenums { if($skipit) { next; } + if (/^#/) { + next; + } if ( /enum\s+(\S+\s+)?{/ .. /}/ ) { s/^\s+//; chomp;