about summary refs log tree commit diff
path: root/src/libsyntax/ext/tt
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-03-27 15:39:48 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-03-31 15:47:36 -0700
commit3c76f4ac8ddca0fb0809b00e3e448f57cf1931b7 (patch)
treec00e4a730162f2b18c90971183ae28a746bbf4f8 /src/libsyntax/ext/tt
parentc034d0c854b9e80dc5d20ebe152eee8ce96ed544 (diff)
downloadrust-3c76f4ac8ddca0fb0809b00e3e448f57cf1931b7.tar.gz
rust-3c76f4ac8ddca0fb0809b00e3e448f57cf1931b7.zip
syntax: Switch field privacy as necessary
Diffstat (limited to 'src/libsyntax/ext/tt')
-rw-r--r--src/libsyntax/ext/tt/transcribe.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/libsyntax/ext/tt/transcribe.rs b/src/libsyntax/ext/tt/transcribe.rs
index bc8709befae..8fa4857cab0 100644
--- a/src/libsyntax/ext/tt/transcribe.rs
+++ b/src/libsyntax/ext/tt/transcribe.rs
@@ -31,16 +31,16 @@ struct TtFrame {
 
 #[deriving(Clone)]
 pub struct TtReader<'a> {
-    sp_diag: &'a SpanHandler,
+    pub sp_diag: &'a SpanHandler,
     // the unzipped tree:
-    priv stack: Vec<TtFrame>,
+    stack: Vec<TtFrame>,
     /* for MBE-style macro transcription */
-    priv interpolations: HashMap<Ident, Rc<NamedMatch>>,
-    priv repeat_idx: Vec<uint>,
-    priv repeat_len: Vec<uint>,
+    interpolations: HashMap<Ident, Rc<NamedMatch>>,
+    repeat_idx: Vec<uint>,
+    repeat_len: Vec<uint>,
     /* cached: */
-    cur_tok: Token,
-    cur_span: Span,
+    pub cur_tok: Token,
+    pub cur_span: Span,
 }
 
 /** This can do Macro-By-Example transcription. On the other hand, if