mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-30 06:47:48 +00:00
Allow charmap to map 'characters' as well as "strings" (#1830)
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
def s equs "d"
|
||||
|
||||
charmap "A", 1
|
||||
charmap "B", 2
|
||||
charmap "c{s}e", 3
|
||||
charmap "F", 4, 5, 6
|
||||
charmap 'A', 1
|
||||
charmap 'B', 2
|
||||
charmap 'c{s}e', 3
|
||||
charmap 'F', 4, 5, 6
|
||||
charmap "'", 42
|
||||
charmap "\"", 1234
|
||||
charmap "\n\r\t\0", 1337
|
||||
charmap "',\",\\", 99
|
||||
charmap '"', 1234
|
||||
charmap '\n\r\t\0', 1337
|
||||
charmap '\',\",\\', 99
|
||||
|
||||
MACRO char
|
||||
assert (\1) == (\2)
|
||||
|
||||
Reference in New Issue
Block a user