Ignore line, do not report as error

Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2560#issuecomment-1492959500
This commit is contained in:
Raymond Hill 2023-04-01 13:50:53 -04:00
parent e2d837a2db
commit b10f15dd89
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 3 additions and 2 deletions

View File

@ -1126,8 +1126,9 @@ export class AstFilterParser {
if ( tail !== 0 ) {
this.linkRight(prev, tail);
}
if ( this.astType !== AST_TYPE_NETWORK ) { return 0; }
this.validateNet();
if ( this.astType === AST_TYPE_NETWORK ) {
this.validateNet();
}
return this.throwHeadNode(head);
}