mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-06 01:50:19 +00:00
do a fast pass first to exit early if the spaces will not be parsed
This commit is contained in:
parent
c6b13984ed
commit
65e842f64a
2 changed files with 101 additions and 52 deletions
|
@ -13,7 +13,7 @@ pub struct State<'a> {
|
|||
offset: usize,
|
||||
|
||||
/// Position of the start of the current line
|
||||
line_start: Position,
|
||||
pub line_start: Position,
|
||||
|
||||
/// Current indentation level, in columns
|
||||
/// (so no indent is col 1 - this saves an arithmetic operation.)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue