diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-02-25 14:11:21 -0500 | 
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-02-28 18:00:34 -0500 | 
| commit | 2df07ddc250b64151401e9b8569a6c7ad5c9b34f (patch) | |
| tree | b79fe795609676370a0c19ba809357e45efcc8cc /src/libsyntax/ext/tt/macro_parser.rs | |
| parent | f2837fa3f53b304b5c9a79d733dfd56da5f32637 (diff) | |
| download | rust-2df07ddc250b64151401e9b8569a6c7ad5c9b34f.tar.gz rust-2df07ddc250b64151401e9b8569a6c7ad5c9b34f.zip | |
Fix implicit leaks of imports throughout libraries
Also touch up use of 'pub' and move some tests around so the tested functions don't have to be 'pub'
Diffstat (limited to 'src/libsyntax/ext/tt/macro_parser.rs')
| -rw-r--r-- | src/libsyntax/ext/tt/macro_parser.rs | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/src/libsyntax/ext/tt/macro_parser.rs b/src/libsyntax/ext/tt/macro_parser.rs index 890420edf6d..3fc580827e9 100644 --- a/src/libsyntax/ext/tt/macro_parser.rs +++ b/src/libsyntax/ext/tt/macro_parser.rs @@ -9,6 +9,7 @@ // except according to those terms. // Earley-like parser for macros. +use ast; use ast::{matcher, match_tok, match_seq, match_nonterminal, ident}; use codemap::{BytePos, mk_sp}; use codemap; @@ -23,6 +24,7 @@ use core::dvec::DVec; use core::dvec; use core::io; use core::option; +use core::option::{Option, Some, None}; use core::str; use core::uint; use core::vec; | 
