summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 0492ab27346..d1f19c3d47e 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -5,18 +5,21 @@ import token::{can_begin_expr, is_ident, is_plain_ident};
 import codemap::{span,fss_none};
 import util::interner;
 import ast_util::{spanned, respan, mk_sp, ident_to_path, operator_prec};
-import ast::*;
 import lexer::reader;
 import prec::{as_prec, token_to_binop};
 import attr::parser_attr;
 import common::{seq_sep_trailing_disallowed, seq_sep_trailing_allowed,
-                seq_sep_none, token_to_str};
-import common::*;//{parser_common};
+                seq_sep_none, token_to_str, parser_common};
 import dvec::{dvec, extensions};
 import vec::{push};
+import ast::*;
 
 export file_type;
 export parser;
+export parse_expr;
+export parse_pat;
+export CRATE_FILE;
+export SOURCE_FILE;
 
 // FIXME (#1893): #ast expects to find this here but it's actually
 // defined in `parse` Fixing this will be easier when we have export