diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2024-06-10 10:21:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-10 10:21:05 +0200 |
| commit | c8b376f07f3212bb4c5228591485237b93553f0f (patch) | |
| tree | aa5bd4f0b1a7392e858de0c2d6bae30e6a6bebb6 /src/error.cpp | |
| parent | 5985c6e3df25dc693a554f824ba3d1d1f3b8086a (diff) | |
| parent | 8702bf00d5f5b22142e88258c288cfec2423089c (diff) | |
Merge pull request #3719 from Feoramund/fix-orbranch-error
Fix `or_or_<branch>` error message
Diffstat (limited to 'src/error.cpp')
| -rw-r--r-- | src/error.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/error.cpp b/src/error.cpp index eed69b779..03d96219b 100644 --- a/src/error.cpp +++ b/src/error.cpp @@ -516,7 +516,7 @@ gb_internal void syntax_error_with_verbose_va(TokenPos const &pos, TokenPos end, if (pos.line == 0) { error_out_empty(); - error_out_coloured("Syntax_Error: ", TerminalStyle_Normal, TerminalColour_Red); + error_out_coloured("Syntax Error: ", TerminalStyle_Normal, TerminalColour_Red); error_out_va(fmt, va); error_out("\n"); } else { @@ -527,7 +527,7 @@ gb_internal void syntax_error_with_verbose_va(TokenPos const &pos, TokenPos end, error_out_pos(pos); } if (has_ansi_terminal_colours()) { - error_out_coloured("Syntax_Error: ", TerminalStyle_Normal, TerminalColour_Red); + error_out_coloured("Syntax Error: ", TerminalStyle_Normal, TerminalColour_Red); } error_out_va(fmt, va); error_out("\n"); |