From 7d4567f2cc16959e827f542e6de76a28ff11789e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 11 Oct 2006 21:59:33 +0000 Subject: * Removed URIs from the evaluator (NIX-66). They are now just another kind of notation for strings. --- src/libexpr/eval.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/libexpr/eval.cc') diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index 2d54f1fc2..4f97c761e 100644 --- a/src/libexpr/eval.cc +++ b/src/libexpr/eval.cc @@ -254,8 +254,7 @@ string coerceToStringWithContext(EvalState & state, } ATerm s; - if (matchStr(e, s) || matchUri(e, s)) - return aterm2String(s); + if (matchStr(e, s)) return aterm2String(s); if (matchPath(e, s)) { isPath = true; @@ -346,7 +345,6 @@ Expr evalExpr2(EvalState & state, Expr e) /* Normal forms. */ if (sym == symStr || sym == symPath || - sym == symUri || sym == symNull || sym == symInt || sym == symBool || -- cgit v1.2.3