Files
rgbds/test/asm/interpolation-after-string.err
Rangi42 a36f2b3b7d Add test for {interpolation} after two double quotes
This is an edge case of how the lexer changes behavior when
reading string literals versus reading unquoted source code.
Three double quotes would begin a multi-line string literal,
but just two are still ambiguous, so it has to `peek()` to
see whether it's inside a multi-line string literal or
outside an empty regular string.
2025-07-31 03:31:16 -04:00

15 lines
494 B
Plaintext

error: interpolation-after-string.asm(5):
Unknown character '{'
error: interpolation-after-string.asm(5):
syntax error, unexpected symbol
while expanding symbol "greeting"
error: interpolation-after-string.asm(5):
Unknown character '}'
error: interpolation-after-string.asm(8):
Unknown character '{'
error: interpolation-after-string.asm(8):
syntax error, unexpected symbol
error: interpolation-after-string.asm(8):
Unknown character '}'
Assembly aborted with 6 errors!