updated the places where the struct is created #7427
This commit is contained in:
parent
6e07377715
commit
33b9afac4a
1 changed files with 3 additions and 2 deletions
|
@ -309,7 +309,8 @@ pub fn Parser(sess: @mut ParseSess,
|
||||||
quote_depth: @mut 0,
|
quote_depth: @mut 0,
|
||||||
obsolete_set: @mut HashSet::new(),
|
obsolete_set: @mut HashSet::new(),
|
||||||
mod_path_stack: @mut ~[],
|
mod_path_stack: @mut ~[],
|
||||||
open_braces: @mut ~[]
|
open_braces: @mut ~[],
|
||||||
|
non_copyable: util::NonCopyable
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -339,7 +340,7 @@ pub struct Parser {
|
||||||
/// Used to determine the path to externally loaded source files
|
/// Used to determine the path to externally loaded source files
|
||||||
mod_path_stack: @mut ~[@str],
|
mod_path_stack: @mut ~[@str],
|
||||||
/// Stack of spans of open delimiters. Used for error message.
|
/// Stack of spans of open delimiters. Used for error message.
|
||||||
open_braces: @mut ~[Span]
|
open_braces: @mut ~[Span],
|
||||||
/* do not copy the parser; its state is tied to outside state */
|
/* do not copy the parser; its state is tied to outside state */
|
||||||
priv non_copyable: util::NonCopyable
|
priv non_copyable: util::NonCopyable
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue