diff options
Diffstat (limited to 'libbuild2')
-rw-r--r-- | libbuild2/parser.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx index e6a1c6a..db00633 100644 --- a/libbuild2/parser.cxx +++ b/libbuild2/parser.cxx @@ -6016,7 +6016,9 @@ namespace build2 // // Note that result may or may not point to result_data. // - if (result->type == nullptr) + if (result->null) + result_data = value (); + else if (result->type == nullptr) { const names& ns (result->as<names> ()); |