diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-08-23 15:46:00 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-08-23 15:46:00 +0000 |
commit | 38f18aa6d418515e42b688fa9b3e4f3ab61bb89e (patch) | |
tree | 3859e7778e44814cdb00f2693dd5778d0e0cb88e /src/libexpr/eval.cc | |
parent | 4a053bfdfd85915a2a659a337bd171bc22c49138 (diff) |
* New primop: abort "error message".
Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r-- | src/libexpr/eval.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index ce38e2ab9..c4f5d7f5d 100644 --- a/src/libexpr/eval.cc +++ b/src/libexpr/eval.cc @@ -515,7 +515,7 @@ Expr evalExpr2(EvalState & state, Expr e) try { return concatStrings(state, args); } catch (Error & e) { - e.addPrefix(format("in a string concatenation: ")); + e.addPrefix(format("in a string concatenation:\n")); throw; } } @@ -527,7 +527,7 @@ Expr evalExpr2(EvalState & state, Expr e) ATermList l2 = evalList(state, e2); return makeList(ATconcat(l1, l2)); } catch (Error & e) { - e.addPrefix(format("in a list concatenation: ")); + e.addPrefix(format("in a list concatenation:\n")); throw; } } |