mirror of
https://github.com/curl/curl.git
synced 2026-04-28 02:52:12 +03:00
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
This commit is contained in:
parent
64e6e54f4b
commit
e99e5ab820
1 changed files with 3 additions and 0 deletions
|
|
@ -90,6 +90,9 @@ sub scanenums {
|
|||
if($skipit) {
|
||||
next;
|
||||
}
|
||||
if (/^#/) {
|
||||
next;
|
||||
}
|
||||
if ( /enum\s+(\S+\s+)?{/ .. /}/ ) {
|
||||
s/^\s+//;
|
||||
chomp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue