From 9fa5f73d00905568e8979d0c93ec4a8f645c81d5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 9 Aug 2016 11:31:53 +0200 Subject: Implement support for C compilation We now have two new modules: cc (c-common) and c. --- build2/variable | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'build2/variable') diff --git a/build2/variable b/build2/variable index 9888aa0..d6be976 100644 --- a/build2/variable +++ b/build2/variable @@ -691,7 +691,11 @@ namespace build2 } const variable& - find (const string& name); + find (const string& name); //@@ TODO: Move to operator[], remove. + //@@ ranmae var_pool to varpool or vpool? + + const variable& + operator[] (const string& name) {return find (name);} using variable_pool_base::clear; -- cgit v1.1