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/nixexpr.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/libexpr/nixexpr.cc') diff --git a/src/libexpr/nixexpr.cc b/src/libexpr/nixexpr.cc index 582eecaf75b3..a36b45bc1567 100644 --- a/src/libexpr/nixexpr.cc +++ b/src/libexpr/nixexpr.cc @@ -301,7 +301,6 @@ string showType(Expr e) int i1; if (matchStr(e, t1)) return "a string"; if (matchPath(e, t1)) return "a path"; - if (matchUri(e, t1)) return "a path"; if (matchNull(e)) return "null"; if (matchInt(e, i1)) return "an integer"; if (matchBool(e, t1)) return "a boolean"; @@ -330,7 +329,6 @@ string showValue(Expr e) return "\"" + u + "\""; } if (matchPath(e, s)) return aterm2String(s); - if (matchUri(e, s)) return aterm2String(s); if (matchNull(e)) return "null"; if (matchInt(e, i)) return (format("%1%") % i).str(); if (e == eTrue) return "true"; -- cgit 1.4.1