mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 16:48:49 -05: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
@ -90,6 +90,9 @@ sub scanenums {
|
|||||||
if($skipit) {
|
if($skipit) {
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
|
if (/^#/) {
|
||||||
|
next;
|
||||||
|
}
|
||||||
if ( /enum\s+(\S+\s+)?{/ .. /}/ ) {
|
if ( /enum\s+(\S+\s+)?{/ .. /}/ ) {
|
||||||
s/^\s+//;
|
s/^\s+//;
|
||||||
chomp;
|
chomp;
|
||||||
|
Loading…
Reference in New Issue
Block a user