tags: Skip tags with a parse error inside the name
This commit is contained in:
parent
1b8426bb65
commit
ba70927f57
1 changed files with 4 additions and 0 deletions
|
|
@ -372,6 +372,10 @@ where
|
|||
}
|
||||
|
||||
if let (Some(tag_node), Some(name_node)) = (tag_node, name_node) {
|
||||
if name_node.has_error() {
|
||||
continue;
|
||||
}
|
||||
|
||||
let name_range = name_node.byte_range();
|
||||
|
||||
if pattern_info.name_must_be_non_local {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue