aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/eval.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-08-04 17:07:13 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-08-04 17:07:13 +0000
commit1854f84e830a5282ae1ad1d0c85ed641af6bcf33 (patch)
treea28dae68b698b6c2ebcf9d56937b26e108010b9c /src/libexpr/eval.cc
parentdcff8cdb76b37da8978fecee3398d3b541d11ccb (diff)
* Fix a few warnings.
Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r--src/libexpr/eval.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index 834b15cbd..ce38e2ab9 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -87,7 +87,7 @@ static Expr substArgs(EvalState & state,
arguments. Find out which. */
for (ATermIterator i(formals); i; ++i) {
Expr name; ATerm d1, d2;
- matchFormal(*i, name, d1, d2);
+ if (!matchFormal(*i, name, d1, d2)) abort();
subs.remove(name);
}
throw TypeError(format("the function does not expect an argument named `%1%'")