Browse Source

Change padding of showing the error in line

gingerBill 2 năm trước cách đây
mục cha
commit
6226c2978d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/error.cpp

+ 1 - 1
src/error.cpp

@@ -264,7 +264,7 @@ gb_internal bool show_error_on_line(TokenPos const &pos, TokenPos end) {
 			ELLIPSIS_PADDING = 8 // `...  ...`
 		};
 
-		error_out("\n\t");
+		error_out("\t");
 
 		terminal_set_colours(TerminalStyle_Bold, TerminalColour_White);