diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-12-21 22:49:42 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-12-22 08:31:42 +0100 |
commit | b07735c0e9da777e3e29614907c1038c7b191c39 (patch) | |
tree | f5889c297e4f8d8fba47490bc87c071a8e87eed8 | |
parent | a0962a6417f17f27fb197ae237cc65811627d7c5 (diff) | |
download | curl-bagder/badsymbols-hash.tar.gz |
tests/badsymbols.pl: ignore stand-alone single hash linesbagder/badsymbols-hash
Bug: https://curl.se/mail/lib-2020-12/0084.html
Reported-by: Dennis Clarke
Assisted-by: Jay Satiro
-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; |