mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
This applies to macro arguments, DB, DW, DL, DS, PRINT, PRINTLN, EXPORT, PURGE, and OPT. It also removes support for empty entries in DB/DW/DL. (Deprecating it would require keeping parser support, which is ambiguous with trailing commas.) Fixes #753
59 lines
411 B
Plaintext
59 lines
411 B
Plaintext
'mac ':
|
|
|
|
'mac 1,2':
|
|
\1: < 1>
|
|
\2: <2>
|
|
|
|
'mac c,d':
|
|
\1: < c>
|
|
\2: <d>
|
|
|
|
'mac 1,2 + 2,3':
|
|
\1: <1>
|
|
\2: <2 + 2>
|
|
\3: <3>
|
|
|
|
'mac a':
|
|
\1: <a>
|
|
|
|
'mac ':
|
|
|
|
'mac ,':
|
|
\1: <>
|
|
|
|
'mac a':
|
|
\1: <a>
|
|
|
|
'mac a,,':
|
|
\1: <a>
|
|
\2: <>
|
|
|
|
'mac ,,z':
|
|
\1: <>
|
|
\2: <>
|
|
\3: <z>
|
|
|
|
'mac a,,z':
|
|
\1: <a>
|
|
\2: <>
|
|
\3: <z>
|
|
|
|
'mac ,a,b,c':
|
|
\1: <>
|
|
\2: <a>
|
|
\3: <b>
|
|
\4: <c>
|
|
|
|
'mac ,,x,,,':
|
|
\1: <>
|
|
\2: <>
|
|
\3: <x>
|
|
\4: <>
|
|
\5: <>
|
|
|
|
'mac E,O,F':
|
|
\1: <E>
|
|
\2: <O>
|
|
\3: <F>
|
|
|