mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
scanner: string interpolation with $var at the end
This commit is contained in:

committed by
Alexander Medvednikov

parent
1372d04b43
commit
d6d17fe3f2
@ -264,7 +264,7 @@ fn (s mut Scanner) scan() ScanRes {
|
||||
// at the next ', skip it
|
||||
if s.inside_string {
|
||||
if next_char == `\'` {
|
||||
s.pos++
|
||||
s.dollar_end = true
|
||||
s.dollar_start = false
|
||||
s.inside_string = false
|
||||
}
|
||||
|
Reference in New Issue
Block a user