From 821ea2a252956894850151f417dc43b9013dd4cf Mon Sep 17 00:00:00 2001 From: Shunsuke Shibayama Date: Mon, 11 Sep 2023 22:55:34 +0900 Subject: [PATCH] Update lex.rs --- crates/erg_parser/lex.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/erg_parser/lex.rs b/crates/erg_parser/lex.rs index 9a2f59d95..de086cbed 100644 --- a/crates/erg_parser/lex.rs +++ b/crates/erg_parser/lex.rs @@ -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); }