diff options
| author | gingerBill <bill@gingerbill.org> | 2023-02-26 13:26:35 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-02-26 13:26:35 +0000 |
| commit | a9182cfd8cf9dd8cec125221e39c0fcd7a3fd3e3 (patch) | |
| tree | f66b628ddf041d894a89469974969045167c5f15 /src/error.cpp | |
| parent | de6c0f682ffae88dfa6f64b44652e243f651a0a6 (diff) | |
Allow compound literals to access fields through `using`
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 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); |