mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
make parser helpers emit a more specific error (line too long)
This commit is contained in:
parent
94fc5a1935
commit
5ec0103996
4 changed files with 32 additions and 12 deletions
|
@ -2230,7 +2230,7 @@ fn string_literal<'a>() -> impl Parser<'a, Expr<'a>, SyntaxError<'a>> {
|
|||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
fn string_literal_help<'a>() -> impl Parser<'a, Expr<'a>, EString> {
|
||||
fn string_literal_help<'a>() -> impl Parser<'a, Expr<'a>, EString<'a>> {
|
||||
specialize(
|
||||
|_, _, _| EString::EndlessSingle,
|
||||
map!(crate::string_literal::parse(), Expr::Str),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue