mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
progress on setting up def parser for top level defs
This commit is contained in:
parent
435789b807
commit
5023fa3e75
8 changed files with 107 additions and 21 deletions
|
@ -32,7 +32,7 @@ fn end_of_file<'a>() -> impl Parser<'a, (), SyntaxError<'a>> {
|
|||
|
||||
#[inline(always)]
|
||||
pub fn module_defs<'a>() -> impl Parser<'a, Vec<'a, Located<Def<'a>>>, SyntaxError<'a>> {
|
||||
// force that we pare until the end of the input
|
||||
// force that we parse until the end of the input
|
||||
let min_indent = 0;
|
||||
skip_second!(
|
||||
specialize(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue