File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
branches/try/src/libsyntax/ext Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 3e6de6b7da8ee88bf84b0e217900051334be08da
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 60fba4d7d677ec098e6a43014132fe99f7547363
5
- refs/heads/try: d1d7b199ec883aecbaa305784aed0cecf6adf9a0
5
+ refs/heads/try: a42e36a816e600c5c40e2044bf06ee1625d4ebd6
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
Original file line number Diff line number Diff line change @@ -1462,10 +1462,14 @@ mod test {
1462
1462
pprust::print_mod(s, &crate.module, crate.attrs);
1463
1463
}
1464
1464
1465
- // fn expand_and_resolve (crate_str: @str) -> ast::crate {
1466
- // let (crate_ast,ps) = string_to_crate_and_sess(crate_str);
1465
+ fn expand_crate_str (crate_str: @str) -> @ ast::Crate {
1466
+ let (crate_ast,ps) = string_to_crate_and_sess(crate_str);
1467
1467
// the cfg argument actually does matter, here...
1468
- //let expanded_ast = expand_crate(ps,~[],crate_ast);
1468
+ expand_crate(ps,~[],crate_ast)
1469
+ }
1470
+
1471
+ //fn expand_and_resolve(crate_str: @str) -> ast::crate {
1472
+ //let expanded_ast = expand_crate_str(crate_str);
1469
1473
// std::io::println(fmt!(" expanded: %?\n ", expanded_ast) ) ;
1470
1474
//mtwt_resolve_crate(expanded_ast)
1471
1475
//}
You can’t perform that action at this time.
0 commit comments