aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/variable.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/variable.hxx')
-rw-r--r--libbuild2/variable.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/libbuild2/variable.hxx b/libbuild2/variable.hxx
index 6dfbbc6..eebb767 100644
--- a/libbuild2/variable.hxx
+++ b/libbuild2/variable.hxx
@@ -612,6 +612,15 @@ namespace build2
vars (v != nullptr ? m : nullptr) {}
};
+ // Variable lookup limit (see {scope,target}::lookup_original()).
+ //
+ enum class lookup_limit
+ {
+ none,
+ target_type,
+ target
+ };
+
// Two lookups are equal if they point to the same variable.
//
inline bool