aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/in/rule.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-09-02 07:08:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-09-02 07:08:17 +0200
commitce69ad7c2aaf517ec3f789300bf1ae29d8f0dc5d (patch)
treeb406ee722e83bbbb3d4e7a7509d03ca5e0dc7b2e /libbuild2/in/rule.cxx
parent8f34de5c103e9e4d2c27583020f2975907b626ad (diff)
Rename in.substitution variable to in.mode
The original name is still recognized for backwards compatibility.
Diffstat (limited to 'libbuild2/in/rule.cxx')
-rw-r--r--libbuild2/in/rule.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/in/rule.cxx b/libbuild2/in/rule.cxx
index 5a6db30..3aa92a2 100644
--- a/libbuild2/in/rule.cxx
+++ b/libbuild2/in/rule.cxx
@@ -108,7 +108,7 @@ namespace build2
// Substitution mode.
//
bool strict (strict_);
- if (const string* s = cast_null<string> (t["in.substitution"]))
+ if (const string* s = cast_null<string> (t["in.mode"]))
{
if (*s == "lax")
strict = false;