Can I declare a macro which can be then called like this?
my_macro! some_ident {
a_block_with_some_statements();
...
}
Can I declare a macro which can be then called like this?
my_macro! some_ident {
a_block_with_some_statements();
...
}
No, all things parsed by the macro must be inside parens, curly, or square braces.
Thanks!
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.