mirror of
https://github.com/gbdev/rgbds.git
synced 2026-06-09 18:22:35 +00:00
996469ee28
Some test cases need CRLF line endings checked out even on Unix. Also some source files had inadvertently contained CR bytes.
23 lines
323 B
NASM
23 lines
323 B
NASM
; This file is encoded with DOS CR+LF line endings!
|
|
|
|
DEF s EQUS "Hello, \
|
|
world!"
|
|
assert !strcmp("{s}", "Hello, world!")
|
|
|
|
/*
|
|
* block comment
|
|
*/
|
|
|
|
REPT 2
|
|
REDEF t EQUS """Hello,
|
|
world!"""
|
|
assert !strcmp("{t}", "Hello,\nworld!")
|
|
ENDR
|
|
|
|
MACRO m
|
|
assert "\1" === "Hello, world!"
|
|
ENDM
|
|
|
|
m Hello\, \
|
|
world!
|