Add newline before error

This commit is contained in:
augustin64 2023-11-15 16:08:05 +01:00
parent 84e344a970
commit 221440a235

View File

@ -11,6 +11,7 @@ void pretty_print_error(vector<string> history, CodePosition pos) {
if (pos.column == -1 || pos.line == -1)
return;
cout << endl;
string line = history[pos.line];
printf(BOLD "%4d " RESET , pos.line+1);