From c6a4d07f79c8167c86f4d64669c689852efcbd4c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 7 Mar 2022 13:53:20 +0200 Subject: Fix operation-specific variables logic for inner/outer operations --- libbuild2/context.hxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libbuild2/context.hxx') 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 -- cgit v1.1