Change macro syntax to accept a single expr, not a sequence of exprs.
This commit is contained in:
parent
3d7016ae95
commit
86f337484e
11 changed files with 80 additions and 78 deletions
|
@ -333,7 +333,7 @@ tag expr_ {
|
|||
type mac = spanned[mac_];
|
||||
|
||||
tag mac_ {
|
||||
mac_invoc(path, (@expr)[], option::t[str]);
|
||||
mac_invoc(path, @expr, option::t[str]);
|
||||
mac_embed_type(@ty);
|
||||
mac_embed_block(blk);
|
||||
mac_ellipsis;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue