parent
d42521aa92
commit
c6b1bce96f
9 changed files with 58 additions and 93 deletions
|
@ -81,6 +81,7 @@ use opt_vec::OptVec;
|
|||
|
||||
use std::cell::Cell;
|
||||
use std::hashmap::HashSet;
|
||||
use std::kinds::marker;
|
||||
use std::util;
|
||||
use std::vec;
|
||||
|
||||
|
@ -317,7 +318,7 @@ pub fn Parser(sess: @ParseSess, cfg: ast::CrateConfig, rdr: @Reader)
|
|||
obsolete_set: HashSet::new(),
|
||||
mod_path_stack: ~[],
|
||||
open_braces: ~[],
|
||||
non_copyable: util::NonCopyable
|
||||
nopod: marker::NoPod
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -348,7 +349,7 @@ pub struct Parser {
|
|||
/// Stack of spans of open delimiters. Used for error message.
|
||||
open_braces: ~[Span],
|
||||
/* do not copy the parser; its state is tied to outside state */
|
||||
priv non_copyable: util::NonCopyable
|
||||
priv nopod: marker::NoPod
|
||||
}
|
||||
|
||||
fn is_plain_ident_or_underscore(t: &token::Token) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue