From 739a03393c86bb310954a6769ae4835c189d0f24 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Thu, 16 Feb 2012 11:03:22 +0100 Subject: [PATCH] allow null values for jobs, meaning it should build --- src/c/hydra-eval-jobs.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/c/hydra-eval-jobs.cc b/src/c/hydra-eval-jobs.cc index 7c10988d..7f79a513 100644 --- a/src/c/hydra-eval-jobs.cc +++ b/src/c/hydra-eval-jobs.cc @@ -178,6 +178,10 @@ static void findJobsWrapped(EvalState & state, XMLWriter & doc, Bindings()); } + else if (v.type = tNull) { + // allow null values, meaning 'do nothing' + } + else throw TypeError(format("unsupported value: %1%") % v); }