remove dead code

This commit is contained in:
John Clements 2013-07-09 14:24:03 -07:00
parent b9bb4abcb6
commit e29d25338d

View File

@ -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)