From 1df26851d73e50407a3b7c79bcdb5b0cc053fe67 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 18 May 2024 16:31:34 -0400 Subject: Add syntax for "inline C(...)" --- repl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'repl.c') diff --git a/repl.c b/repl.c index 9f01c247..c687f378 100644 --- a/repl.c +++ b/repl.c @@ -90,7 +90,7 @@ static void repl_err(ast_t *node, const char *fmt, ...) fputs(" \x1b[m", stderr); fputs("\n\n", stderr); if (node) - fprint_span(stderr, node->file, node->start, node->end, "\x1b[31;1m", 2, color); + highlight_error(node->file, node->start, node->end, "\x1b[31;1m", 2, color); longjmp(on_err, 1); } -- cgit v1.2.3