Convert 'import' to 'use'. Remove 'import' keyword.
This commit is contained in:
parent
1a8a0a77b1
commit
298eb8c726
78 changed files with 192 additions and 232 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue