aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/parser/parser-impl1.inc.cc
diff options
context:
space:
mode:
authorpiegames <git@piegames.de>2024-10-18 19:36:55 +0200
committerpiegames <git@piegames.de>2024-10-18 19:37:23 +0200
commite2d00ac3a805bef7af8e7ec765af0d8ba34f4b3c (patch)
tree2cc5b9a572c3def2bb6aa3c97e5fa9615ff8b413 /src/libexpr/parser/parser-impl1.inc.cc
parent3ba5ef91bc9de8ddd302124e3415192b186f6703 (diff)
libexpr: Fix typo in error message
Closes #523 Change-Id: Ib5705e405b74d07a8fcf0163847405e9c791c3e3
Diffstat (limited to 'src/libexpr/parser/parser-impl1.inc.cc')
-rw-r--r--src/libexpr/parser/parser-impl1.inc.cc2
1 files changed, 1 insertions, 1 deletions
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<grammar::v1::expr::uri> {
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<ExprString>(ps.at(in), in.string());