about summary refs log tree commit diff
path: root/src/libexpr/parser.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-08-04T10·59+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-08-04T10·59+0000
commitbbfdd64741546863c2412d780097b1fe2457395e (patch)
tree198309fd082893cfbb24f5dd044e53d1723a2b6b /src/libexpr/parser.cc
parente3a50f7e25c552a78974fae684484d27a36b7c60 (diff)
* Allow primops with more that 1 arguments.
Diffstat (limited to 'src/libexpr/parser.cc')
-rw-r--r--src/libexpr/parser.cc2
1 files changed, 1 insertions, 1 deletions
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);
     }