You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #184 - tromey:new-with-line-number, r=SimonSapin
Provide ParserInput::new_with_line_number_offset
This patch adds ParserInput::new_with_line_number_offset, a new
constructor that calls Tokenizer::with_first_line_number. Servo has its
own code for tracking the initial line number, but that code can be
replaced by this.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-cssparser/184)
<!-- Reviewable:end -->
0 commit comments