mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-23 21:23:20 +00:00
test case support fns, remove debugging test case
This commit is contained in:
parent
62fee04ae9
commit
015ba31c02
@ -1462,10 +1462,14 @@ mod test {
|
||||
pprust::print_mod(s, &crate.module, crate.attrs);
|
||||
}
|
||||
|
||||
//fn expand_and_resolve(crate_str: @str) -> ast::crate {
|
||||
//let (crate_ast,ps) = string_to_crate_and_sess(crate_str);
|
||||
fn expand_crate_str(crate_str: @str) -> @ast::Crate {
|
||||
let (crate_ast,ps) = string_to_crate_and_sess(crate_str);
|
||||
// the cfg argument actually does matter, here...
|
||||
//let expanded_ast = expand_crate(ps,~[],crate_ast);
|
||||
expand_crate(ps,~[],crate_ast)
|
||||
}
|
||||
|
||||
//fn expand_and_resolve(crate_str: @str) -> ast::crate {
|
||||
//let expanded_ast = expand_crate_str(crate_str);
|
||||
// std::io::println(fmt!("expanded: %?\n",expanded_ast));
|
||||
//mtwt_resolve_crate(expanded_ast)
|
||||
//}
|
||||
|
Loading…
Reference in New Issue
Block a user