From 298eb8c7260fe321e30d9c5e22f4ecefc82c4f64 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 7 Sep 2012 18:08:21 -0700 Subject: Convert 'import' to 'use'. Remove 'import' keyword. --- src/libsyntax/parse/token.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libsyntax/parse/token.rs') diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs index 5f1bdf2ff3e..cfef2f96581 100644 --- a/src/libsyntax/parse/token.rs +++ b/src/libsyntax/parse/token.rs @@ -279,7 +279,7 @@ pure fn is_bar(t: token) -> bool { mod special_idents { - import ast::ident; + use ast::ident; const underscore : ident = 0u; const anon : ident = 1u; const dtor : ident = 2u; // 'drop', but that's reserved @@ -433,7 +433,7 @@ fn strict_keyword_table() -> HashMap<~str, ()> { ~"do", ~"drop", ~"else", ~"enum", ~"export", ~"extern", ~"false", ~"for", - ~"if", ~"import", + ~"if", ~"let", ~"log", ~"loop", ~"match", ~"mod", ~"move", ~"mut", ~"pure", -- cgit 1.4.1-3-g733a5