From e99e5ab820a36f9c3b2aa96d09f91c73f56cbd9b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 21 Dec 2020 22:49:42 +0100 Subject: [PATCH] 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 --- tests/badsymbols.pl | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.47.3