Skip to content

Commit

Permalink
updated the places where the struct is created #7427
Browse files Browse the repository at this point in the history
  • Loading branch information
reedlepee123 committed Oct 29, 2013
1 parent 6e07377 commit 33b9afa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/libsyntax/parse/parser.rs
Expand Up @@ -309,7 +309,8 @@ pub fn Parser(sess: @mut ParseSess,
quote_depth: @mut 0,
obsolete_set: @mut HashSet::new(),
mod_path_stack: @mut ~[],
open_braces: @mut ~[]
open_braces: @mut ~[],
non_copyable: util::NonCopyable
}
}

Expand Down Expand Up @@ -339,7 +340,7 @@ pub struct Parser {
/// Used to determine the path to externally loaded source files
mod_path_stack: @mut ~[@str],
/// 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 */
priv non_copyable: util::NonCopyable
}
Expand Down

0 comments on commit 33b9afa

Please sign in to comment.