1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 10:41:16 +02:00

* New primop: abort "error message".

This commit is contained in:
Eelco Dolstra 2006-08-23 15:46:00 +00:00
parent 4a053bfdfd
commit 38f18aa6d4
4 changed files with 12 additions and 2 deletions

View file

@ -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;
}
}