aboutsummaryrefslogtreecommitdiff
path: root/build/variable
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-07-13 08:46:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-07-13 08:46:45 +0200
commit4208f2d755f2bd2215051390f6500ccf54f1858f (patch)
tree643336ed7ca628fd06127be73caec2a1b4d9ae4e /build/variable
parentd7ed84309eeda86e793c42864cebd7f8f3b7c66c (diff)
Add support for pair-enabled variables
Diffstat (limited to 'build/variable')
-rw-r--r--build/variable5
1 files changed, 3 insertions, 2 deletions
diff --git a/build/variable b/build/variable
index 9c6d3bc..10e6247 100644
--- a/build/variable
+++ b/build/variable
@@ -35,10 +35,11 @@ namespace build
struct variable
{
explicit
- variable (std::string n): name (std::move (n)), type (nullptr) {}
+ variable (std::string n): name (std::move (n)) {}
std::string name;
- const value_type* type; // If NULL, then this variable has no fixed type.
+ char pairs = '\0';
+ //const value_type* type = nullptr; // If NULL, then no fixed type.
};
inline bool