1
Fork 0

Change macro syntax to accept a single expr, not a sequence of exprs.

This commit is contained in:
Paul Stansifer 2011-07-27 17:36:37 -07:00
parent 3d7016ae95
commit 86f337484e
11 changed files with 80 additions and 78 deletions

View file

@ -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;