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,17 +1,17 @@
error: syntax error, unexpected local label, expecting symbol
at label-macro-arg.asm::test_char(25) <- label-macro-arg.asm(38)
while expanding symbol "VAR_DEF"
while expanding symbol `VAR_DEF`
error: syntax error, unexpected local label, expecting symbol
at label-macro-arg.asm::test_char(26) <- label-macro-arg.asm(38)
error: Interpolated symbol "sizeof_.something" does not exist
error: Interpolated symbol `sizeof_.something` does not exist
at label-macro-arg.asm::test_char(29) <- label-macro-arg.asm(38)
error: syntax error, unexpected label, expecting symbol
at label-macro-arg.asm::test_char(25) <- label-macro-arg.asm(39)
while expanding symbol "VAR_DEF"
while expanding symbol `VAR_DEF`
error: syntax error, unexpected label, expecting symbol
at label-macro-arg.asm::test_char(26) <- label-macro-arg.asm(39)
error: Invalid format spec 'sizeof_'
error: Invalid format spec "sizeof_"
at label-macro-arg.asm::test_char(29) <- label-macro-arg.asm(39)
error: Interpolated symbol "something" does not exist
error: Interpolated symbol `something` does not exist
at label-macro-arg.asm::test_char(29) <- label-macro-arg.asm(39)
Assembly aborted with 7 errors!