1
Fork 0

Add support for parsing quasi-quotes, doesn't do anything useful yet.

This commit is contained in:
Kevin Atkinson 2012-01-25 16:38:09 -07:00
parent 75edd9ff69
commit 5ef53382ae
10 changed files with 74 additions and 2 deletions

View file

@ -277,6 +277,10 @@ enum mac_ {
mac_embed_type(@ty),
mac_embed_block(blk),
mac_ellipsis,
// the span is used by the quoter/anti-quoter ...
mac_qq(span /* span of expr */, @expr), // quasi-quote
mac_aq(span /* span of quote */, @expr), // anti-quote
mac_var(uint),
}
type lit = spanned<lit_>;