aboutsummaryrefslogtreecommitdiff
path: root/build2/types-parsers.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-16 22:39:07 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-17 13:07:36 +0300
commitbf2cf8cd53361826e51e01c2904f6fb4cb7502dc (patch)
tree534dc598757f42e6daff0107f4bfe533d6bf27a5 /build2/types-parsers.hxx
parent3712363ddf1be71b38321d2dde57d88f01a28afb (diff)
Add support for default options files
Diffstat (limited to 'build2/types-parsers.hxx')
-rw-r--r--build2/types-parsers.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/build2/types-parsers.hxx b/build2/types-parsers.hxx
index beea977..db55c05 100644
--- a/build2/types-parsers.hxx
+++ b/build2/types-parsers.hxx
@@ -24,6 +24,9 @@ namespace build2
{
static void
parse (path&, bool&, scanner&);
+
+ static void
+ merge (path& b, const path& a) {b = a;}
};
template <>
@@ -31,6 +34,9 @@ namespace build2
{
static void
parse (dir_path&, bool&, scanner&);
+
+ static void
+ merge (dir_path& b, const dir_path& a) {b = a;}
};
}
}