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,12 +1,12 @@
warning: Test #1: Compile-time constant [-Wuser]
at isconst.asm::test_expr(10) <- isconst.asm(14)
error: Expected constant expression: 'UnknownLabel' is not constant at assembly time
error: Expected constant expression: `UnknownLabel` is not constant at assembly time
at isconst.asm::test_expr(9) <- isconst.asm(15)
warning: Test #3: Compile-time constant [-Wuser]
at isconst.asm::test_expr(10) <- isconst.asm(21)
warning: Test #4: Compile-time constant [-Wuser]
at isconst.asm::test_expr(10) <- isconst.asm(22)
error: Expected constant expression: 'FloatingLabel' is not constant at assembly time
error: Expected constant expression: `FloatingLabel` is not constant at assembly time
at isconst.asm::test_expr(9) <- isconst.asm(28)
warning: Test #6: Compile-time constant [-Wuser]
at isconst.asm::test_expr(10) <- isconst.asm(29)