mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
finish up string problems
This commit is contained in:
parent
2f4099f1f0
commit
5b3c7eeee3
4 changed files with 91 additions and 4 deletions
|
@ -311,7 +311,11 @@ pub fn parse<'a>() -> impl Parser<'a, StrLiteral<'a>, EString<'a>> {
|
|||
// We ran out of characters before finding a closed quote
|
||||
Err((
|
||||
MadeProgress,
|
||||
EString::EndlessSingle(state.line, state.column),
|
||||
if is_multiline {
|
||||
EString::EndlessMulti(state.line, state.column)
|
||||
} else {
|
||||
EString::EndlessSingle(state.line, state.column)
|
||||
},
|
||||
state,
|
||||
))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue