From d49ccadfea0581017f6656fcc82e7f0361121716 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 19 Aug 2011 15:43:23 +0000 Subject: [PATCH] * Build fix. --- src/c/hydra_eval_jobs.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/c/hydra_eval_jobs.cc b/src/c/hydra_eval_jobs.cc index 0618d923..2ec1fb88 100644 --- a/src/c/hydra_eval_jobs.cc +++ b/src/c/hydra_eval_jobs.cc @@ -6,7 +6,6 @@ #include "shared.hh" #include "store-api.hh" #include "eval.hh" -#include "parser.hh" #include "util.hh" #include "xml-writer.hh" #include "get-drvs.hh" @@ -218,7 +217,7 @@ void run(Strings args) string value = *i++; Value * v = state.allocValue(); if (arg == "--arg") - state.eval(parseExprFromString(state, value, absPath(".")), *v); + state.eval(state.parseExprFromString(value, absPath(".")), *v); else mkString(*v, value); autoArgs[state.symbols.create(name)].push_back(v); @@ -239,7 +238,7 @@ void run(Strings args) store = openStore(); - Expr * e = parseExprFromFile(state, releaseExpr); + Expr * e = state.parseExprFromFile(releaseExpr); Value v; state.mkThunk_(v, e);