diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-08-04T10·59+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-08-04T10·59+0000 |
commit | bbfdd64741546863c2412d780097b1fe2457395e (patch) | |
tree | 198309fd082893cfbb24f5dd044e53d1723a2b6b /src/libexpr/parser.cc | |
parent | e3a50f7e25c552a78974fae684484d27a36b7c60 (diff) |
* Allow primops with more that 1 arguments.
Diffstat (limited to 'src/libexpr/parser.cc')
-rw-r--r-- | src/libexpr/parser.cc | 2 |
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); } |