mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
checkpoint 2
This commit is contained in:
parent
5ec0103996
commit
98a3d42eff
5 changed files with 120 additions and 48 deletions
|
@ -189,7 +189,13 @@ pub fn app_header<'a>() -> impl Parser<'a, AppHeader<'a>, SyntaxError<'a>> {
|
|||
and!(
|
||||
skip_first!(
|
||||
ascii_string("app"),
|
||||
and!(space1(1), loc!(string_literal::parse()))
|
||||
and!(
|
||||
space1(1),
|
||||
loc!(crate::parser::specialize(
|
||||
|e, r, c| SyntaxError::Expr(crate::parser::EExpr::Str(e, r, c)),
|
||||
string_literal::parse()
|
||||
))
|
||||
)
|
||||
),
|
||||
and!(
|
||||
optional(packages()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue