allow null values for jobs, meaning it should build

This commit is contained in:
Rob Vermaas 2012-02-16 11:03:22 +01:00
parent 1f448673f0
commit 739a03393c

View file

@ -178,6 +178,10 @@ static void findJobsWrapped(EvalState & state, XMLWriter & doc,
Bindings()); Bindings());
} }
else if (v.type = tNull) {
// allow null values, meaning 'do nothing'
}
else else
throw TypeError(format("unsupported value: %1%") % v); throw TypeError(format("unsupported value: %1%") % v);
} }