Fix single-quote dollar parsing

This commit is contained in:
Richard Feldman 2024-01-13 09:14:22 -05:00
parent 79ed84fff3
commit 443b3c8851
No known key found for this signature in database
GPG Key ID: F1F21AA5B1D9E43B

View File

@ -349,7 +349,7 @@ pub fn parse_str_like_literal<'a>() -> impl Parser<'a, StrLikeLiteral<'a>, EStri
return Err((MadeProgress, EString::EndlessSingleLine(start_state.pos())));
}
}
b'$' => {
b'$' if !is_single_quote => {
// This is for the byte we're about to parse.
segment_parsed_bytes += 1;