Make quote marks consistent in error/warning messages (#1791)

- "Double quotes" for strings (filenames, section names, CLI option arguments, etc)
- 'Single quotes' for characters and CLI option flags
- `Backticks` for keywords and identifiers (symbol names, charmap names, etc)

CLI option flags also have their leading dashes
This commit is contained in:
Rangi
2025-08-12 15:24:21 -04:00
committed by GitHub
parent 7df9c12a6c
commit 7b405513d9
185 changed files with 889 additions and 877 deletions

View File

@@ -1,18 +1,18 @@
error: Undefined macro "m"; it was purged
error: Undefined macro `m`; it was purged
at use-purged-symbol.asm(6)
error: Bracketed symbol "argi" does not exist; it was purged
error: Bracketed symbol `argi` does not exist; it was purged
at use-purged-symbol.asm::m2(10) <- use-purged-symbol.asm(13)
error: Expected constant expression: 'argi' is not constant at assembly time; it was purged
error: Expected constant expression: `argi` is not constant at assembly time; it was purged
at use-purged-symbol.asm(15)
error: Interpolated symbol "argi" does not exist; it was purged
error: Interpolated symbol `argi` does not exist; it was purged
at use-purged-symbol.asm(17)
warning: Purging an exported symbol "Label" [-Wpurge]
warning: Purging an exported symbol `Label` [-Wpurge]
at use-purged-symbol.asm(20)
error: Expected constant expression: 'Label' is not constant at assembly time; it was purged
error: Expected constant expression: `Label` is not constant at assembly time; it was purged
at use-purged-symbol.asm(21)
error: Expected constant expression: "Label"'s bank is not known; it was purged
error: Expected constant expression: `Label`'s bank is not known; it was purged
at use-purged-symbol.asm(22)
warning: Purging an exported symbol "Label2" [-Wpurge]
warning: Purging an exported symbol `Label2` [-Wpurge]
at use-purged-symbol.asm(25)
FATAL: Undefined symbol "Label2"; it was purged
FATAL: Undefined symbol `Label2`; it was purged
at use-purged-symbol.asm(26)