Open fangism opened 4 years ago
Maybe a duplicate of this one: #425 @fangism feel free to close one of them.
Maybe a duplicate of this one: #425 @fangism feel free to close one of them.
This one is slightly different, it is only about formal arguments.
Note that references to macro formal arguments look like SymbolIdentifier
and EvalStringLiteral
when recursively lexing inside macro definition bodies.
Input test case
Try to reduce the test down to a single demonstrative file.
Describe what is wrong or missing
Formal arguments are
_type_name_
and_inst_name_
. Inside the definition body, only linkify those, because other names cannot be resolved without macro call-site context.You will need to recursively lex the macro definition body.