diff options
Diffstat (limited to 'src/libsyntax/parse/token.rs')
| -rw-r--r-- | src/libsyntax/parse/token.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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", |
