diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-02-18 14:55:55 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-02-18 14:55:55 -0500 |
| commit | d2aeee16e6ad84bfb2d77221e424d1441a2ceea2 (patch) | |
| tree | 52f217c1226dde49fd99d6630ee02ae4f80cdd65 /builtins | |
| parent | 69d41fa068a08fcb468bd50babc43178faf0e114 (diff) | |
Add blank line between err and src
Diffstat (limited to 'builtins')
| -rw-r--r-- | builtins/functions.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/builtins/functions.c b/builtins/functions.c index b7e816cb..7dc96704 100644 --- a/builtins/functions.c +++ b/builtins/functions.c @@ -42,8 +42,10 @@ public void fail_source(const char *filename, int64_t start, int64_t end, CORD f va_end(args); file_t *file = filename ? load_file(filename) : NULL; - if (filename && file) + if (filename && file) { + fputs("\n", stderr); fprint_span(stderr, file, file->text+start, file->text+end, "\x1b[31;1m", 2, USE_COLOR); + } raise(SIGABRT); } |
