mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 11:52:19 +00:00
ignore comments in repl
This commit is contained in:
parent
45a7e448dd
commit
fb108af73e
2 changed files with 10 additions and 4 deletions
|
@ -2346,10 +2346,13 @@ fn parse_expr_end<'a>(
|
|||
}
|
||||
|
||||
pub fn loc_expr<'a>(accept_multi_backpassing: bool) -> impl Parser<'a, Loc<Expr<'a>>, EExpr<'a>> {
|
||||
expr_start(ExprParseOptions {
|
||||
accept_multi_backpassing,
|
||||
check_for_arrow: true,
|
||||
})
|
||||
space0_before_e(
|
||||
expr_start(ExprParseOptions {
|
||||
accept_multi_backpassing,
|
||||
check_for_arrow: true,
|
||||
}),
|
||||
EExpr::IndentEnd,
|
||||
)
|
||||
}
|
||||
|
||||
pub fn merge_spaces<'a>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue