aboutsummaryrefslogtreecommitdiff
path: root/src/error.cpp
diff options
context:
space:
mode:
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);