From e2d00ac3a805bef7af8e7ec765af0d8ba34f4b3c Mon Sep 17 00:00:00 2001 From: piegames Date: Fri, 18 Oct 2024 19:36:55 +0200 Subject: [PATCH] libexpr: Fix typo in error message Closes #523 Change-Id: Ib5705e405b74d07a8fcf0163847405e9c791c3e3 --- src/libexpr/parser/parser-impl1.inc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libexpr/parser/parser-impl1.inc.cc b/src/libexpr/parser/parser-impl1.inc.cc index 5836ab752..c937d17fd 100644 --- a/src/libexpr/parser/parser-impl1.inc.cc +++ b/src/libexpr/parser/parser-impl1.inc.cc @@ -655,7 +655,7 @@ template<> struct BuildAST { bool URLLiterals = ps.featureSettings.isEnabled(Dep::UrlLiterals); if (!URLLiterals) throw ParseError({ - .msg = HintFmt("URL literals are deprecated, allow using them with --extra-deprecated-features=url-literals"), + .msg = HintFmt("URL literals are deprecated, allow using them with %s", "--extra-deprecated-features url-literals"), .pos = ps.positions[ps.at(in)] }); s.pushExpr(ps.at(in), in.string());