diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-09 11:31:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-12 17:04:22 +0200 |
commit | 9fa5f73d00905568e8979d0c93ec4a8f645c81d5 (patch) | |
tree | f2bf937fa256c0ef2c9bbe05d3655d1985719405 /build2/variable | |
parent | a1b2319ff2ddc8a6f139ee364cabe236ca62e23e (diff) |
Implement support for C compilation
We now have two new modules: cc (c-common) and c.
Diffstat (limited to 'build2/variable')
-rw-r--r-- | build2/variable | 6 |
1 files changed, 5 insertions, 1 deletions
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; |