diff options
| author | gingerBill <bill@gingerbill.org> | 2024-03-20 13:55:47 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-03-20 13:55:47 +0000 |
| commit | 1951bc45a68ec930d5e10620f9e4e9c84cf74ded (patch) | |
| tree | 962f782e16160bf543ff75b1cc4ac85c9aec277a /src/error.cpp | |
| parent | ba77a9464c7e912dda52dd512dc98f3c241581ac (diff) | |
Fix #3133 by show the line of the syntax error
Diffstat (limited to 'src/error.cpp')
| -rw-r--r-- | src/error.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.cpp b/src/error.cpp index b96719420..2458061c2 100644 --- a/src/error.cpp +++ b/src/error.cpp @@ -460,7 +460,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_empty(); error_out_coloured("Syntax Error: ", TerminalStyle_Normal, TerminalColour_Red); |