From 8b3a71e60ac08c757e934aba9eb175fab610b0b1 Mon Sep 17 00:00:00 2001 From: Akuli Date: Fri, 10 Jan 2025 14:31:19 +0200 Subject: [PATCH] Mention "bootstrap" in bootstrap compiler's errors and warnings (#581) --- bootstrap_compiler/fail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap_compiler/fail.c b/bootstrap_compiler/fail.c index 69f6e9f1..0e3b6700 100644 --- a/bootstrap_compiler/fail.c +++ b/bootstrap_compiler/fail.c @@ -26,7 +26,7 @@ void show_warning(Location location, const char *fmt, ...) { va_list ap; va_start(ap, fmt); - print_message(location, "compiler warning for file \"%s\"", fmt, ap); + print_message(location, "bootstrap compiler warning for file \"%s\"", fmt, ap); va_end(ap); } @@ -34,7 +34,7 @@ noreturn void fail(Location location, const char *fmt, ...) { va_list ap; va_start(ap, fmt); - print_message(location, "compiler error in file \"%s\"", fmt, ap); + print_message(location, "bootstrap compiler error in file \"%s\"", fmt, ap); va_end(ap); exit(1); }