From 921c2d503a63f4769fdf1c7e6eb31be2706f9bea Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 15 Oct 2020 14:20:44 +0200 Subject: Add ability to specify fallback value for NULL substitutions with in.null --- libbuild2/in/init.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libbuild2/in/init.cxx') diff --git a/libbuild2/in/init.cxx b/libbuild2/in/init.cxx index 6cd2f96..18071f8 100644 --- a/libbuild2/in/init.cxx +++ b/libbuild2/in/init.cxx @@ -59,6 +59,11 @@ namespace build2 // unknown substitutions as is. // vp.insert ("in.substitution"); + + // Fallback value to use for NULL value substitutions. If unspecified, + // NULL substitutions are an error. + // + vp.insert ("in.null"); } // Register target types. -- cgit v1.1