aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/context.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-03-07 13:53:20 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-03-07 13:58:48 +0200
commitc6a4d07f79c8167c86f4d64669c689852efcbd4c (patch)
tree2b5df5564e8d73a9413d3710e307915967f9c0af /libbuild2/context.hxx
parent8475c82a2ca186f4ca987e50b4249bb8eb32ba01 (diff)
Fix operation-specific variables logic for inner/outer operations
Diffstat (limited to 'libbuild2/context.hxx')
-rw-r--r--libbuild2/context.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/libbuild2/context.hxx b/libbuild2/context.hxx
index 20098dc..1483eb3 100644
--- a/libbuild2/context.hxx
+++ b/libbuild2/context.hxx
@@ -280,10 +280,14 @@ namespace build2
string current_oname;
const meta_operation_info* current_mif;
+
const operation_info* current_inner_oif;
const operation_info* current_outer_oif;
- const variable* current_ovar; // Current (outer) operation variable.
+ // Current operation-specific variables.
+ //
+ const variable* current_inner_ovar;
+ const variable* current_outer_ovar;
action
current_action () const