Support declaration modifier keywords (#3412)

Co-authored-by: Jon Ross-Perkins <jperkins@google.com>
This commit is contained in:
josh11bandJon Ross-Perkins authored and GitHub committed 2023-12-05 22:45:57 +00:00
1 parent 22dff46ed2
commit fada410559
54 files changed
+1779 -244

No files matched your search

-3
View File
@@ -8,9 +8,6 @@ namespace Carbon::Parse {
auto HandleFunctionIntroducer(Context& context) -> void {
auto state = context.PopState();
context.AddLeafNode(NodeKind::FunctionIntroducer, context.Consume());
state.state = State::FunctionAfterParams;
context.PushState(state);
context.PushState(State::DeclNameAndParamsAsRequired, state.token);