Skip to content

Commit f8f569a

Browse files
committed
---
yaml --- r: 79240 b: refs/heads/auto c: 7a9af09 h: refs/heads/master v: v3
1 parent 4403aac commit f8f569a

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1313
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1414
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1515
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
16-
refs/heads/auto: f5ab8671198e37e15ab6c5512417ceadf6c1290c
16+
refs/heads/auto: 7a9af098f0a01cf0d0f320def7c495d1fa859e62
1717
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1818
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1919
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/src/libsyntax/ext/expand.rs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1461,12 +1461,15 @@ mod test {
14611461
pprust::print_mod(s, &crate.module, crate.attrs);
14621462
}
14631463
1464-
//fn expand_and_resolve_and_pretty_print (crate_str : @str) -> ~str {
1464+
//fn expand_and_resolve(crate_str: @str) -> ast::crate {
14651465
//let (crate_ast,ps) = string_to_crate_and_sess(crate_str);
14661466
// the cfg argument actually does matter, here...
14671467
//let expanded_ast = expand_crate(ps,~[],crate_ast);
14681468
// std::io::println(fmt!("expanded: %?\n",expanded_ast));
1469-
//let resolved_ast = mtwt_resolve_crate(expanded_ast);
1469+
//mtwt_resolve_crate(expanded_ast)
1470+
//}
1471+
//fn expand_and_resolve_and_pretty_print (crate_str : @str) -> ~str {
1472+
//let resolved_ast = expand_and_resolve(crate_str);
14701473
//pprust::to_str(&resolved_ast,fake_print_crate,get_ident_interner())
14711474
//}
14721475

@@ -1503,4 +1506,9 @@ mod test {
15031506
pat_idents.visit_pat(pat, ());
15041507
assert_eq!(idents, @mut strs_to_idents(~["a","c","b","d"]));
15051508
}
1509+
1510+
/* #[test]
1511+
fn debugging(){
1512+
io::println(fmt!("%?",expand_and_resolve(@~"fn main () { let x : int = 13;}")))
1513+
}*/
15061514
}

0 commit comments

Comments
 (0)