Skip to content

Conversation

DougGregor
Copy link
Member

Instead of macro definitions always being defined via
= ModuleName.TypeName, parse the more general = expression, which
is already captured by the InitializerClause grammar production.
Additionally, make the definition optional, which accounts for
built-in macros.

Instead of macro definitions always being defined via
`= ModuleName.TypeName`, parse the more general `= expression`, which
is already captured by the `InitializerClause` grammar production.
Additionally, make the definition optional, which accounts for
built-in macros.
@DougGregor DougGregor requested a review from ahoppen as a code owner December 10, 2022 20:06
@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor DougGregor merged commit ef7f0a8 into swiftlang:main Dec 10, 2022
@DougGregor DougGregor deleted the macro-decl-definition-syntax branch December 10, 2022 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant