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,10 +1,10 @@
FATAL: Section "conflicting types" is defined with type HRAM, but also with type WRAM0
FATAL: Section "conflicting types" is defined with type `HRAM`, but also with type `WRAM0`
at section-union/bad-types.asm(7)
and also:
at section-union/bad-types.asm(7)
Linking aborted with 1 error
---
error: Section already exists but with type HRAM
error: Section already exists but with type `HRAM`
at <stdin>(18)
FATAL: Cannot create section "conflicting types" (1 error)
at <stdin>(18)

View File

@@ -1,7 +1,7 @@
FATAL: Section "overlaid data" is of type ROM0, which cannot be unionized
FATAL: Section "overlaid data" is of type `ROM0`, which cannot be `UNION`ized
Linking aborted with 1 error
---
error: Cannot declare ROM sections as UNION
error: Cannot declare ROM sections as `UNION`
at <stdin>(18)
FATAL: Cannot create section "overlaid data" (1 error)
at <stdin>(18)

View File

@@ -1,7 +1,7 @@
FATAL: Section "different data" is of type ROM0, which cannot be unionized
FATAL: Section "different data" is of type `ROM0`, which cannot be `UNION`ized
Linking aborted with 1 error
---
error: Cannot declare ROM sections as UNION
error: Cannot declare ROM sections as `UNION`
at <stdin>(16)
FATAL: Cannot create section "different data" (1 error)
at <stdin>(16)

View File

@@ -1,7 +1,7 @@
FATAL: Section "different section sizes" is of type ROM0, which cannot be unionized
FATAL: Section "different section sizes" is of type `ROM0`, which cannot be `UNION`ized
Linking aborted with 1 error
---
error: Cannot declare ROM sections as UNION
error: Cannot declare ROM sections as `UNION`
at <stdin>(16)
FATAL: Cannot create section "different section sizes" (1 error)
at <stdin>(16)

View File

@@ -1,7 +1,7 @@
FATAL: Section "different syntaxes" is of type ROM0, which cannot be unionized
FATAL: Section "different syntaxes" is of type `ROM0`, which cannot be `UNION`ized
Linking aborted with 1 error
---
error: Cannot declare ROM sections as UNION
error: Cannot declare ROM sections as `UNION`
at <stdin>(18)
FATAL: Cannot create section "different syntaxes" (1 error)
at <stdin>(18)

View File

@@ -1,4 +1,4 @@
FATAL: "Same" is defined as a label, but also as another label
FATAL: `Same` is defined as a label, but also as another label
at section-union/same-export/b.asm(2)
and also:
at section-union/same-export/a.asm(2)

View File

@@ -1,7 +1,7 @@
FATAL: Section "mutually-overlaid data" is of type ROM0, which cannot be unionized
FATAL: Section "mutually-overlaid data" is of type `ROM0`, which cannot be `UNION`ized
Linking aborted with 1 error
---
error: Cannot declare ROM sections as UNION
error: Cannot declare ROM sections as `UNION`
at <stdin>(18)
FATAL: Cannot create section "mutually-overlaid data" (1 error)
at <stdin>(18)