summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorreedlepee <reedlepee123@gmail.com>2013-10-29 15:08:59 +0530
committerreedlepee <reedlepee123@gmail.com>2013-10-29 21:16:02 +0530
commit33b9afac4a864b2177046e9314e8e9c0a91b328d (patch)
tree8c43856177af320cd3acf817f13de4c5850ec695 /src/libsyntax/parse
parent6e0737771552ddb3206f32877ede30597f952aa3 (diff)
downloadrust-33b9afac4a864b2177046e9314e8e9c0a91b328d.tar.gz
rust-33b9afac4a864b2177046e9314e8e9c0a91b328d.zip
updated the places where the struct is created #7427
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/parser.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index c5bdc379dba..2c09cca578c 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -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
     }
 }
 
@@ -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
 }