diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-13 08:46:45 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-13 08:46:45 +0200 |
commit | 4208f2d755f2bd2215051390f6500ccf54f1858f (patch) | |
tree | 643336ed7ca628fd06127be73caec2a1b4d9ae4e /build/variable | |
parent | d7ed84309eeda86e793c42864cebd7f8f3b7c66c (diff) |
Add support for pair-enabled variables
Diffstat (limited to 'build/variable')
-rw-r--r-- | build/variable | 5 |
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 |