Update lex.rs

This commit is contained in:
Shunsuke Shibayama 2024-05-12 13:47:18 +09:00
parent 0f04d27c0e
commit da0fb2374d

View file

@ -1063,7 +1063,7 @@ impl Lexer /*<'a>*/ {
return Err(Self::unclosed_interpol_error(token));
}
},
'"' => {
'"' | '\'' => {
let c = self.consume().unwrap();
match self.interpol_stack.last().copied().unwrap() {
Interpolation::MultiLine(quote) => {