Skip to content

Commit

Permalink
parser: ignore source-position in virtual methods
Browse files Browse the repository at this point in the history
  • Loading branch information
jf2048 authored and bilelmoussaoui committed May 5, 2023
1 parent 10dc6c2 commit 72e0c43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,7 @@ impl Library {
self.read_parameter(parser, ns_id, elem, true, false)
.map(|p| ret = Some(p))
}
"source-position" => parser.ignore_element(),
"doc" => parser.text().map(|t| doc = Some(t)),
"doc-deprecated" => parser.text().map(|t| doc_deprecated = Some(t)),
"attribute" => parser.ignore_element(),
Expand Down

0 comments on commit 72e0c43

Please sign in to comment.