Skip to content

Commit 4dc2147

Browse files
committed
Test macro invocations with transcriber syntax
1 parent f44b017 commit 4dc2147

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

corpus/macros.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ a!($);
5555
a!($());
5656
a!($ a $);
5757
a!(${$([ a ])});
58+
a!($a $a:ident $($a);*);
5859

5960
--------------------------------------------------------------------------------
6061

@@ -121,7 +122,16 @@ a!(${$([ a ])});
121122
(expression_statement
122123
(macro_invocation
123124
(identifier)
124-
(token_tree (token_tree (token_tree (token_tree (identifier))))))))
125+
(token_tree (token_tree (token_tree (token_tree (identifier)))))))
126+
(expression_statement
127+
(macro_invocation
128+
(identifier)
129+
(token_tree
130+
(identifier)
131+
(identifier)
132+
(identifier)
133+
(token_tree
134+
(identifier))))))
125135

126136
================================================================================
127137
Macro invocation with comments

0 commit comments

Comments
 (0)