diff --git a/src/report.cc b/src/report.cc index 6a311bb8..708ee39a 100644 --- a/src/report.cc +++ b/src/report.cc @@ -305,6 +305,10 @@ value_t report_t::fn_ansify_if(call_scope_t& scope) } namespace { + value_t fn_null(call_scope_t&) { + return NULL_VALUE; + } + template * handler = lookup_option(q)) diff --git a/src/value.cc b/src/value.cc index 556fc152..87c7ecd1 100644 --- a/src/value.cc +++ b/src/value.cc @@ -1515,7 +1515,7 @@ void value_t::dump(std::ostream& out, const bool relaxed) const { switch (type()) { case VOID: - out << ""; + out << "null"; break; case BOOLEAN: