From 72fd81d0ac98215d6b648bdcd93c16b6d4174f18 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Fri, 30 Jul 2021 14:05:49 +0300 Subject: [PATCH] clc: print warnings/errors on their own line Signed-off-by: Lionel Landwerlin Reviewed-by: Jesse Natalie Part-of: --- src/compiler/clc/clc_helpers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler/clc/clc_helpers.cpp b/src/compiler/clc/clc_helpers.cpp index 2bc798461dc..f251eab4a22 100644 --- a/src/compiler/clc/clc_helpers.cpp +++ b/src/compiler/clc/clc_helpers.cpp @@ -955,12 +955,12 @@ public: case SPV_MSG_FATAL: case SPV_MSG_INTERNAL_ERROR: case SPV_MSG_ERROR: - clc_error(logger, "(file=%s,line=%ld,column=%ld,index=%ld): %s", + clc_error(logger, "(file=%s,line=%ld,column=%ld,index=%ld): %s\n", src, pos.line, pos.column, pos.index, msg); break; case SPV_MSG_WARNING: - clc_warning(logger, "(file=%s,line=%ld,column=%ld,index=%ld): %s", + clc_warning(logger, "(file=%s,line=%ld,column=%ld,index=%ld): %s\n", src, pos.line, pos.column, pos.index, msg); break;