Allow OPT to accept optional dashes before flags

This commit is contained in:
Rangi42
2025-08-06 10:19:01 -04:00
parent a4a830776b
commit f9a55bd5cd
3 changed files with 7 additions and 3 deletions

View File

@@ -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