From f93f7b75be7851affd1288dc36d6d4c4f0d43743 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 30 Aug 2006 13:10:04 +0000 Subject: * Okay, that's a bit harder than expected. --- src/libexpr/eval.hh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/libexpr/eval.hh') diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index 58e6b40d7..c95a30935 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -48,8 +48,11 @@ Expr evalExpr(EvalState & state, Expr e); Expr evalFile(EvalState & state, const Path & path); /* Evaluate an expression, and recursively evaluate list elements and - attributes. */ -Expr strictEvalExpr(EvalState & state, Expr e); + attributes. If `canonicalise' is true, we remove things like + position information and make sure that attribute sets are in + sorded order. */ +Expr strictEvalExpr(EvalState & state, Expr e, + bool canonicalise = false); /* Specific results. */ string evalString(EvalState & state, Expr e); -- cgit v1.2.3