This commit is contained in:
nora 2022-01-30 17:38:55 +01:00
parent 29b0d35a62
commit 0d3c4d913e

View file

@ -81,7 +81,10 @@ mod parser {
})
.labelled("abstraction");
abstraction.then_ignore(end())
ident
.or(abstraction)
.or(expr.delimited_by(Token::ParenO, Token::ParenC))
.then_ignore(end())
})
}
}