Charmaps cannot map an empty string (#1486)

This commit is contained in:
Sylvie
2024-08-22 13:21:16 -04:00
committed by GitHub
parent 81ab133566
commit 44332ff4be
3 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
charmap "", 1
charmap "nonempty", ; nothing

View File

@@ -0,0 +1,5 @@
error: charmap-empty.asm(1):
Cannot map an empty string
error: charmap-empty.asm(2):
syntax error, unexpected newline
error: Assembly aborted (2 errors)!