Skip to content

Commit 56a8ce7

Browse files
committed
---
yaml --- r: 79337 b: refs/heads/try c: 533587a h: refs/heads/master i: 79335: 3f74982 v: v3
1 parent 6a3f0e1 commit 56a8ce7

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
@@ -2,7 +2,7 @@
22
refs/heads/master: 3e6de6b7da8ee88bf84b0e217900051334be08da
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 60fba4d7d677ec098e6a43014132fe99f7547363
5-
refs/heads/try: 01702e800932e6fd83962ba5520e98424c8dd22d
5+
refs/heads/try: 533587a8e61d97f36da9a57b4fe9151cdba7dd72
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/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)