mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 02:20:29 +00:00
Support declaration modifier keywords (#3412)
Co-authored-by: Jon Ross-Perkins <jperkins@google.com>
This commit is contained in:
1 parent
22dff46ed2
commit
fada410559
54 files changed
+1779
-244
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user