Add support for parsing quasi-quotes, doesn't do anything useful yet.
This commit is contained in:
parent
75edd9ff69
commit
5ef53382ae
10 changed files with 74 additions and 2 deletions
|
@ -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_>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue