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

@@ -1757,6 +1757,7 @@ impl<'a> State<'a> {
|s, &p| s.print_pat(p)));
try!(word(&mut self.s, "]"));
}
ast::PatMac(ref m) => try!(self.print_mac(m)),
}
self.ann.post(self, NodePat(pat))
}