mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-03 22:02:51 +01:00
Abbreviate "parameter" -> "param" (#3392)
Part of switching to the [abbreviations we've decided to use](https://docs.google.com/document/d/1RRYMm42osyqhI2LyjrjockYCutQ5dOf8Abu50kTrkX0/edit?resourcekey=0-kHyqOESbOHmzZphUbtLrTw#heading=h.pph7i5m5un7q). I will rename files in a follow-up PR. --------- Co-authored-by: Jon Ross-Perkins <jperkins@google.com>
This commit is contained in:
co-authored by
Jon Ross-Perkins
parent
522dcc44c5
commit
c53b248800
@@ -11,12 +11,12 @@ auto HandleFunctionIntroducer(Context& context) -> void {
|
||||
|
||||
context.AddLeafNode(NodeKind::FunctionIntroducer, context.Consume());
|
||||
|
||||
state.state = State::FunctionAfterParameters;
|
||||
state.state = State::FunctionAfterParams;
|
||||
context.PushState(state);
|
||||
context.PushState(State::DeclNameAndParamsAsRequired, state.token);
|
||||
}
|
||||
|
||||
auto HandleFunctionAfterParameters(Context& context) -> void {
|
||||
auto HandleFunctionAfterParams(Context& context) -> void {
|
||||
auto state = context.PopState();
|
||||
|
||||
// Regardless of whether there's a return type, we'll finish the signature.
|
||||
|
||||
Reference in New Issue
Block a user