From 4208f2d755f2bd2215051390f6500ccf54f1858f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 13 Jul 2015 08:46:45 +0200 Subject: Add support for pair-enabled variables --- build/variable | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'build/variable') 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 -- cgit v1.1