From bbfdd64741546863c2412d780097b1fe2457395e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 4 Aug 2004 10:59:20 +0000 Subject: * Allow primops with more that 1 arguments. --- src/libexpr/parser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libexpr/parser.cc') diff --git a/src/libexpr/parser.cc b/src/libexpr/parser.cc index 2e561c95ea29..90e008473048 100644 --- a/src/libexpr/parser.cc +++ b/src/libexpr/parser.cc @@ -95,7 +95,7 @@ static Expr parse(EvalState & state, if (res) throw Error(data.error); try { - checkVarDefs(state.primOpsAll, data.result); + checkVarDefs(state.primOps, data.result); } catch (Error & e) { throw Error(format("%1%, in `%2%'") % e.msg() % path); } -- cgit 1.4.1