Restrict custom binary and graphics digits (#1693)

* Restrict custom binary and graphics digits

* Update documentation

* Fix build error
This commit is contained in:
Rangi
2025-05-22 04:52:51 -04:00
committed by GitHub
parent 126b1e5726
commit 5d998ef483
9 changed files with 211 additions and 90 deletions

View File

@@ -1,23 +1,39 @@
error: invalid-opt.asm(1):
Must specify exactly 2 characters for option 'b'
error: invalid-opt.asm(2):
Must specify exactly 4 characters for option 'g'
Invalid digit for binary constant '_'
error: invalid-opt.asm(3):
Invalid argument for option 'p'
Changed digit for binary constant '1'
error: invalid-opt.asm(4):
Invalid argument for option 'p'
Repeated digit for binary constant '0'
error: invalid-opt.asm(5):
Invalid argument for option 'Q'
Must specify exactly 4 characters for option 'g'
error: invalid-opt.asm(6):
Invalid argument for option 'Q'
Invalid digit for graphics constant '_'
error: invalid-opt.asm(7):
Argument for option 'Q' must be between 1 and 31
Invalid digit for graphics constant '$'
error: invalid-opt.asm(8):
Argument to 'r' is out of range ("99999999999999999999999999")
Changed digit for graphics constant '2'
error: invalid-opt.asm(9):
Must specify an argument for option 'W'
Repeated digit for graphics constant 'x'
error: invalid-opt.asm(10):
syntax error, unexpected end of line, expecting string
Repeated digit for graphics constant 'y'
error: invalid-opt.asm(11):
Invalid argument for option 'p'
error: invalid-opt.asm(12):
Invalid argument for option 'p'
error: invalid-opt.asm(13):
Invalid argument for option 'Q'
error: invalid-opt.asm(14):
Invalid argument for option 'Q'
error: invalid-opt.asm(15):
Argument for option 'Q' must be between 1 and 31
error: invalid-opt.asm(16):
Argument to 'r' is out of range ("99999999999999999999999999")
error: invalid-opt.asm(17):
Must specify an argument for option 'W'
error: invalid-opt.asm(18):
syntax error, unexpected end of line, expecting string
error: invalid-opt.asm(19):
No entries in the option stack
error: Assembly aborted (11 errors)!
error: Assembly aborted (19 errors)!