mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
also use new parser for space1
This commit is contained in:
parent
f5284d1db7
commit
cffb8094b8
1 changed files with 11 additions and 0 deletions
|
@ -453,6 +453,16 @@ where
|
|||
Err((a, b, c)) => Err((a, b, c)),
|
||||
}
|
||||
} else {
|
||||
match spaces_help_help(min_indent, space_problem, indent_problem).parse(arena, state) {
|
||||
Ok((MadeProgress, b, c)) => Ok((MadeProgress, b, c)),
|
||||
Ok((NoProgress, b, state)) => Err((
|
||||
NoProgress,
|
||||
missing_space_problem(state.line, state.column),
|
||||
state,
|
||||
)),
|
||||
Err((a, b, c)) => Err((a, b, c)),
|
||||
}
|
||||
/*
|
||||
match spaces_help_help_help(
|
||||
require_at_least_one,
|
||||
min_indent,
|
||||
|
@ -471,6 +481,7 @@ where
|
|||
Err((a, b, c))
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue