mirror of
https://github.com/gbdev/rgbds.git
synced 2026-09-21 05:07:06 +00:00
Consistently handle negative shifted macro args (#2014)
Negative macro arguments count from the end, i.e. `\<-1>` is equivalent to `\<_NARG>`, even after `shift`ing them. Negative arguments cannot be used to access shifted values.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
$A
|
||||
ajja
|
||||
|
||||
|
||||
$7
|
||||
djjd
|
||||
|
||||
|
||||
|
||||
$0
|
||||
|
||||
|
||||
$A
|
||||
Reference in New Issue
Block a user