carbon-language / carbon-lang

Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)
https://github.com/carbon-language/carbon-lang/blob/trunk/README.md
Other
32.31k stars 1.48k forks source link

For modifiers, get the TokenKind from DeclKind instead of argument. #4028

Closed jonmeow closed 3 weeks ago

jonmeow commented 4 weeks ago

Depends on #4027

jonmeow commented 3 weeks ago

I'd been considering a x-macro for the decl introducer (only), but yeah, something in tokens may make more sense and avoid the extra burden. Maybe I'll look at that separately.