Skip to content

Conversation

@mlechu
Copy link
Member

@mlechu mlechu commented Nov 19, 2025

On top of #60162. This simplification lets macro expansion handle the macro name as an identifier rather than the nonterminal K"macro_name" node. That and the old MacroName node (as well as CmdMacroName, StrMacroName) are mainly the result of restrictions on raw parser output: we can't parse @Base.x to a non-contiguous @x, even though that's what we want in the AST in almost every case.

@mlechu mlechu added the compiler:lowering Syntax lowering (compiler front end, 2nd stage) label Nov 19, 2025
@mlechu mlechu requested a review from c42f November 19, 2025 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compiler:lowering Syntax lowering (compiler front end, 2nd stage)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant