1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04: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:
Daniel Stenberg 2020-12-21 22:49:42 +01:00
parent 64e6e54f4b
commit e99e5ab820
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -90,6 +90,9 @@ sub scanenums {
if($skipit) {
next;
}
if (/^#/) {
next;
}
if ( /enum\s+(\S+\s+)?{/ .. /}/ ) {
s/^\s+//;
chomp;