mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 02:02:06 +00:00
Allow OPT to accept optional dashes before flags
This commit is contained in:
@@ -2482,7 +2482,8 @@ can be used to change some of the options during assembling from within the sour
|
||||
takes a comma-separated list of options as its argument:
|
||||
.Bd -literal -offset indent
|
||||
PUSHO
|
||||
OPT g.oOX, Wdiv ; acts like command-line -g.oOX -Wdiv
|
||||
OPT g.oOX, Wdiv ; acts like command-line `-g.oOX -Wdiv`
|
||||
OPT -Wdiv ; dashes before the options are optional
|
||||
DW `..ooOOXX ; uses the graphics constant characters from OPT g
|
||||
PRINTLN $80000000/-1 ; prints a warning about division
|
||||
POPO
|
||||
|
||||
Reference in New Issue
Block a user