From 6510f1ce7cb026ceb98689583c13f18c1e7c2c12 Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Thu, 12 May 2011 17:20:07 +0200 Subject: Change module dereference syntax from . to :: This will need to be a snapshot. --- src/comp/front/creader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/comp/front/creader.rs') diff --git a/src/comp/front/creader.rs b/src/comp/front/creader.rs index dd913b53..5ae56417 100644 --- a/src/comp/front/creader.rs +++ b/src/comp/front/creader.rs @@ -312,7 +312,7 @@ fn resolve_path(vec[ast.ident] path, vec[u8] data) -> resolve_result { fn eq_item(vec[u8] data, str s) -> bool { ret Str.eq(Str.unsafe_from_bytes(data), s); } - auto s = Str.connect(path, "."); + auto s = Str.connect(path, "::"); auto md = EBML.new_doc(data); auto paths = EBML.get_doc(md, metadata.tag_paths); auto eqer = bind eq_item(_, s); -- cgit v1.2.3