From fb0ef6ca6bfea368e594e9ae2714858030f66bc6 Mon Sep 17 00:00:00 2001 From: "Commentator2.0" Date: Tue, 8 Apr 2025 10:21:53 +0200 Subject: [PATCH] Made parser warnings use Error info no other warn calls were found, which have position information Change-Id: If9773b86a756e5b2e4096d3f6b3a5114bfed5bee --- lix/libexpr/parser/parser-impl1.inc.cc | 15 ++++---- lix/libexpr/parser/state.hh | 35 +++++++++---------- tests/functional/lang/parse-fail-crlf.err.exp | 7 +++- ...arse-okay-rec-set-override-warning.err.exp | 14 ++++++-- 4 files changed, 44 insertions(+), 27 deletions(-) diff --git a/lix/libexpr/parser/parser-impl1.inc.cc b/lix/libexpr/parser/parser-impl1.inc.cc index 62f12e34e..f4f9d3ff3 100644 --- a/lix/libexpr/parser/parser-impl1.inc.cc +++ b/lix/libexpr/parser/parser-impl1.inc.cc @@ -755,12 +755,15 @@ template<> struct BuildAST : change_head