progress on setting up def parser for top level defs

This commit is contained in:
Anton-4 2021-08-16 20:05:21 +02:00
parent 435789b807
commit 5023fa3e75
8 changed files with 107 additions and 21 deletions

View file

@ -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(