From 724a88eb4c5ebdddb6d334beec53105f679c154a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 17 Jul 2018 08:16:23 +0200 Subject: Add ability to customize in::rule's default symbol and mode --- build2/in/rule.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build2/in/rule.cxx') diff --git a/build2/in/rule.cxx b/build2/in/rule.cxx index 5988566..1495c64 100644 --- a/build2/in/rule.cxx +++ b/build2/in/rule.cxx @@ -146,7 +146,7 @@ namespace build2 // Substitution symbol. // - char sym ('$'); + char sym (symbol_); if (const string* s = cast_null (t["in.symbol"])) { if (s->size () == 1) @@ -157,7 +157,7 @@ namespace build2 // Substitution mode. // - bool strict (true); + bool strict (strict_); if (const string* s = cast_null (t["in.substitution"])) { if (*s == "lax") -- cgit v1.1