Add newline before error
This commit is contained in:
parent
84e344a970
commit
221440a235
@ -11,6 +11,7 @@ void pretty_print_error(vector<string> history, CodePosition pos) {
|
|||||||
if (pos.column == -1 || pos.line == -1)
|
if (pos.column == -1 || pos.line == -1)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
cout << endl;
|
||||||
string line = history[pos.line];
|
string line = history[pos.line];
|
||||||
|
|
||||||
printf(BOLD "%4d " RESET , pos.line+1);
|
printf(BOLD "%4d " RESET , pos.line+1);
|
||||||
|
Loading…
Reference in New Issue
Block a user