diff options
| author | John Clements <clements@racket-lang.org> | 2013-07-09 14:24:03 -0700 |
|---|---|---|
| committer | John Clements <clements@racket-lang.org> | 2013-09-06 13:35:11 -0700 |
| commit | e29d25338d7b0374f3dd5976b57463e6aafab0ac (patch) | |
| tree | 8f7166fe99e8f647dc8fdbd0aedd71e7ab846891 /src/libsyntax | |
| parent | b9bb4abcb66804e4b78704068703f0dab5c72887 (diff) | |
| download | rust-e29d25338d7b0374f3dd5976b57463e6aafab0ac.tar.gz rust-e29d25338d7b0374f3dd5976b57463e6aafab0ac.zip | |
remove dead code
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ext/expand.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/libsyntax/ext/expand.rs b/src/libsyntax/ext/expand.rs index 91a56590435..dfeb938c709 100644 --- a/src/libsyntax/ext/expand.rs +++ b/src/libsyntax/ext/expand.rs @@ -1501,21 +1501,6 @@ pub fn new_rename_folder(from : ast::Ident, to : ast::Name) -> @AstFoldFns { fun_to_ctxt_folder(@Renamer{from:from,to:to}) } -/* -// perform resolution (in the MTWT sense) on all of the -// idents in the tree. This is the final step in expansion. -// FIXME #6993: this function could go away, along with -// the separate mtwt_resolution pass -pub fn new_ident_resolver() -> - @fn(ast::Ident)->ast::Ident { - |id : ast::Ident| - ast::Ident { - name : mtwt_resolve(id), - ctxt : EMPTY_CTXT - } -} -*/ - // apply a given mark to the given token trees. Used prior to expansion of a macro. fn mark_tts(tts : &[token_tree], m : Mrk) -> ~[token_tree] { fold_tts(tts,new_mark_folder(m) as @ast_fold) |
