diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-04-05 11:29:58 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-04-05 11:29:58 +0200 |
commit | 86cdcdcf11982281aa286682faf604cff3b1c7d1 (patch) | |
tree | aaecefd0169ad6ef27f375d8a64acd6f30574730 /build2/name | |
parent | 4461d80e680bc81eaad28bac58015660f5bc105e (diff) |
Make name::pair char again
The plan is to represent scope/target-qualified variables as ':'-style pairs.
Diffstat (limited to 'build2/name')
-rw-r--r-- | build2/name | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build2/name b/build2/name index d0a115f..68fe9c7 100644 --- a/build2/name +++ b/build2/name @@ -33,7 +33,8 @@ namespace build2 dir_path dir; string type; string value; - bool pair = false; // True if first half of a pair. + char pair = '\0'; // Pair character if first half of a pair. Can be used + // as bool. name () = default; |