mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-31 15:48:23 +00:00
Update lex.rs
This commit is contained in:
parent
21ca95417f
commit
821ea2a252
1 changed files with 1 additions and 0 deletions
|
@ -1094,6 +1094,7 @@ impl Lexer /*<'a>*/ {
|
|||
}
|
||||
Interpolation::SingleLine => {
|
||||
self.interpol_stack.pop();
|
||||
s.push(c);
|
||||
let token = self.emit_token(StrInterpRight, &s);
|
||||
return Ok(token);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue