diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2012-09-21 18:10:45 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-09-21 18:11:43 -0700 |
| commit | dffe188991325b4e803fdd0da7c1563ce0fa27f4 (patch) | |
| tree | e8f65929b804a38550dc9fdcf24021e6a7920304 /src/libsyntax/syntax.rc | |
| parent | 60443d48881bfbc7a305e807390e74b327f100b8 (diff) | |
| download | rust-dffe188991325b4e803fdd0da7c1563ce0fa27f4.tar.gz rust-dffe188991325b4e803fdd0da7c1563ce0fa27f4.zip | |
Install new pub/priv/export rules as defaults, old rules accessible under #[legacy_exports];
Diffstat (limited to 'src/libsyntax/syntax.rc')
| -rw-r--r-- | src/libsyntax/syntax.rc | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/src/libsyntax/syntax.rc b/src/libsyntax/syntax.rc index 6ce8ef11d91..c62ec28f359 100644 --- a/src/libsyntax/syntax.rc +++ b/src/libsyntax/syntax.rc @@ -9,6 +9,7 @@ #[no_core]; #[legacy_modes]; +#[legacy_exports]; #[allow(vecs_implicitly_copyable)]; #[allow(non_camel_case_types)]; @@ -18,19 +19,31 @@ extern mod std(vers = "0.4"); use core::*; +#[legacy_exports] mod attr; +#[legacy_exports] mod diagnostic; +#[legacy_exports] mod codemap; +#[legacy_exports] mod ast; +#[legacy_exports] mod ast_util; +#[legacy_exports] mod ast_map; +#[legacy_exports] mod visit; +#[legacy_exports] mod fold; +#[legacy_exports] mod util { + #[legacy_exports]; + #[legacy_exports] mod interner; } mod parse { + #[legacy_exports]; export parser; export common; export lexer; @@ -40,61 +53,100 @@ mod parse { export classify; export attr; + #[legacy_exports] mod eval; + #[legacy_exports] mod lexer; + #[legacy_exports] mod parser; + #[legacy_exports] mod token; + #[legacy_exports] mod comments; + #[legacy_exports] mod attr; + #[legacy_exports] /// Common routines shared by parser mods + #[legacy_exports] mod common; /// Functions dealing with operator precedence + #[legacy_exports] mod prec; /// Routines the parser uses to classify AST nodes + #[legacy_exports] mod classify; /// Reporting obsolete syntax + #[legacy_exports] mod obsolete; } mod print { + #[legacy_exports]; + #[legacy_exports] mod pp; + #[legacy_exports] mod pprust; } mod ext { + #[legacy_exports]; + #[legacy_exports] mod base; + #[legacy_exports] mod expand; + #[legacy_exports] mod qquote; + #[legacy_exports] mod build; mod tt { + #[legacy_exports]; + #[legacy_exports] mod transcribe; + #[legacy_exports] mod macro_parser; + #[legacy_exports] mod macro_rules; } + #[legacy_exports] mod simplext; + #[legacy_exports] mod fmt; + #[legacy_exports] mod env; + #[legacy_exports] mod concat_idents; + #[legacy_exports] mod ident_to_str; + #[legacy_exports] mod log_syntax; + #[legacy_exports] mod auto_serialize; + #[legacy_exports] mod source_util; mod pipes { + #[legacy_exports]; + #[legacy_exports] mod ast_builder; + #[legacy_exports] mod parse_proto; + #[legacy_exports] mod pipec; + #[legacy_exports] mod proto; + #[legacy_exports] mod check; + #[legacy_exports] mod liveness; } + #[legacy_exports] mod trace_macros; } |
