mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 18:58:30 +00:00
Update lex.rs
This commit is contained in:
parent
0f04d27c0e
commit
da0fb2374d
1 changed files with 1 additions and 1 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue