From 5f768f4f3e6e9e1b7310a0e8b09a97bf6d0115ea Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 25 Mar 2021 10:24:54 +0200 Subject: Implement config.config.environment storage --- libbuild2/config/module.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libbuild2/config/module.cxx') diff --git a/libbuild2/config/module.cxx b/libbuild2/config/module.cxx index bf68c4e..c84b1fa 100644 --- a/libbuild2/config/module.cxx +++ b/libbuild2/config/module.cxx @@ -12,7 +12,9 @@ namespace build2 namespace config { bool module:: - save_variable (const variable& var, optional flags) + save_variable (const variable& var, + optional flags, + save_variable_function* save) { const string& n (var.name); @@ -43,7 +45,7 @@ namespace build2 return false; } - sv.push_back (saved_variable {var, flags}); + sv.push_back (saved_variable {var, flags, save}); return true; } -- cgit v1.1