1
Fork 0

rename Linear{Map,Set} => Hash{Map,Set}

This commit is contained in:
Daniel Micay 2013-04-03 09:28:36 -04:00
parent 44029a5bbc
commit cc148b58ff
75 changed files with 523 additions and 523 deletions

View file

@ -94,7 +94,7 @@ use opt_vec::OptVec;
use core::either::Either;
use core::either;
use core::hashmap::LinearSet;
use core::hashmap::HashSet;
use core::vec;
#[deriving(Eq)]
@ -243,7 +243,7 @@ pub fn Parser(sess: @mut ParseSess,
keywords: token::keyword_table(),
strict_keywords: token::strict_keyword_table(),
reserved_keywords: token::reserved_keyword_table(),
obsolete_set: @mut LinearSet::new(),
obsolete_set: @mut HashSet::new(),
mod_path_stack: @mut ~[],
}
}
@ -262,12 +262,12 @@ pub struct Parser {
quote_depth: @mut uint, // not (yet) related to the quasiquoter
reader: @reader,
interner: @token::ident_interner,
keywords: LinearSet<~str>,
strict_keywords: LinearSet<~str>,
reserved_keywords: LinearSet<~str>,
keywords: HashSet<~str>,
strict_keywords: HashSet<~str>,
reserved_keywords: HashSet<~str>,
/// The set of seen errors about obsolete syntax. Used to suppress
/// extra detail when the same error is seen twice
obsolete_set: @mut LinearSet<ObsoleteSyntax>,
obsolete_set: @mut HashSet<ObsoleteSyntax>,
/// Used to determine the path to externally loaded source files
mod_path_stack: @mut ~[~str],