mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Fixup string dollar handling
This commit is contained in:
parent
dfcb7a0c3b
commit
45424e27fb
1 changed files with 0 additions and 2 deletions
|
@ -253,7 +253,6 @@ pub fn parse_str_like_literal<'a>() -> impl Parser<'a, StrLikeLiteral<'a>, EStri
|
|||
};
|
||||
}
|
||||
b'\'' if is_single_quote => {
|
||||
preceded_by_dollar = false;
|
||||
end_segment!(StrSegment::Plaintext);
|
||||
|
||||
let expr = if segments.len() == 1 {
|
||||
|
@ -355,7 +354,6 @@ pub fn parse_str_like_literal<'a>() -> impl Parser<'a, StrLikeLiteral<'a>, EStri
|
|||
}
|
||||
}
|
||||
b'\\' => {
|
||||
preceded_by_dollar = false;
|
||||
// We're about to begin an escaped segment of some sort!
|
||||
//
|
||||
// Record the current segment so we can begin a new one.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue