Expand the test for {interpolation} after two double quotes

This commit is contained in:
Rangi42
2025-07-31 07:07:49 -04:00
parent a36f2b3b7d
commit 32b5ef5095
3 changed files with 8 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
def hello = $11
def goodbye = $22
def concat equs """++ "hi world" ++"""
println ""{concat}""
def greeting equs "hello"
println ""{greeting}

View File

@@ -1,3 +1,7 @@
error: interpolation-after-string.asm(2):
Unknown character '{'
error: interpolation-after-string.asm(2):
Unknown character '}'
error: interpolation-after-string.asm(5):
Unknown character '{'
error: interpolation-after-string.asm(5):
@@ -11,4 +15,4 @@ error: interpolation-after-string.asm(8):
syntax error, unexpected symbol
error: interpolation-after-string.asm(8):
Unknown character '}'
Assembly aborted with 6 errors!
Assembly aborted with 8 errors!

View File

@@ -0,0 +1 @@
hi world