Add AST node for pattern macros

This commit is contained in:
Keegan McAllister
2014-05-19 13:29:41 -07:00
parent 28a4ee5eeb
commit 5fdd0e4b05
12 changed files with 36 additions and 2 deletions

View File

@@ -770,6 +770,7 @@ pub fn noop_fold_pat<T: Folder>(p: @Pat, folder: &mut T) -> @Pat {
slice.map(|x| folder.fold_pat(x)),
after.iter().map(|x| folder.fold_pat(*x)).collect())
}
PatMac(ref mac) => PatMac(folder.fold_mac(mac)),
};
@Pat {