aboutsummaryrefslogtreecommitdiff
path: root/src/error.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-02-26 13:26:35 +0000
committergingerBill <bill@gingerbill.org>2023-02-26 13:26:35 +0000
commita9182cfd8cf9dd8cec125221e39c0fcd7a3fd3e3 (patch)
treef66b628ddf041d894a89469974969045167c5f15 /src/error.cpp
parentde6c0f682ffae88dfa6f64b44652e243f651a0a6 (diff)
Allow compound literals to access fields through `using`
Diffstat (limited to 'src/error.cpp')
-rw-r--r--src/error.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/error.cpp b/src/error.cpp
index d20373be9..c684be1e7 100644
--- a/src/error.cpp
+++ b/src/error.cpp
@@ -423,7 +423,7 @@ gb_internal void syntax_error_va(TokenPos const &pos, TokenPos end, char const *
error_out_coloured("Syntax Error: ", TerminalStyle_Normal, TerminalColour_Red);
error_out_va(fmt, va);
error_out("\n");
- show_error_on_line(pos, end);
+ // show_error_on_line(pos, end);
} else if (pos.line == 0) {
error_out_coloured("Syntax Error: ", TerminalStyle_Normal, TerminalColour_Red);
error_out_va(fmt, va);
@@ -451,7 +451,7 @@ gb_internal void syntax_warning_va(TokenPos const &pos, TokenPos end, char const
error_out_coloured("Syntax Warning: ", TerminalStyle_Normal, TerminalColour_Yellow);
error_out_va(fmt, va);
error_out("\n");
- show_error_on_line(pos, end);
+ // show_error_on_line(pos, end);
} else if (pos.line == 0) {
error_out_coloured("Syntax Warning: ", TerminalStyle_Normal, TerminalColour_Yellow);
error_out_va(fmt, va);