diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-12-21 22:49:42 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-12-22 23:12:10 +0100 |
commit | e99e5ab820a36f9c3b2aa96d09f91c73f56cbd9b (patch) | |
tree | 52e727a50419d77c633bd53048936ad7bbe85f0e | |
parent | 64e6e54f4be26ef2bb707f49eed131f5b3e4ab8a (diff) | |
download | curl-e99e5ab820a36f9c3b2aa96d09f91c73f56cbd9b.tar.gz |
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
-rwxr-xr-x | tests/badsymbols.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/badsymbols.pl b/tests/badsymbols.pl index bad037975..d9766cad7 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; |