mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 22:02:52 +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
@@ -15,12 +15,12 @@ auto HandleCallExpr(Context& context) -> void {
|
||||
context.AddNode(NodeKind::CallExprStart, context.Consume(),
|
||||
state.subtree_start, state.has_error);
|
||||
if (!context.PositionIs(Lex::TokenKind::CloseParen)) {
|
||||
context.PushState(State::CallExprParameterFinish);
|
||||
context.PushState(State::CallExprParamFinish);
|
||||
context.PushState(State::Expr);
|
||||
}
|
||||
}
|
||||
|
||||
auto HandleCallExprParameterFinish(Context& context) -> void {
|
||||
auto HandleCallExprParamFinish(Context& context) -> void {
|
||||
auto state = context.PopState();
|
||||
|
||||
if (state.has_error) {
|
||||
@@ -30,7 +30,7 @@ auto HandleCallExprParameterFinish(Context& context) -> void {
|
||||
if (context.ConsumeListToken(NodeKind::CallExprComma,
|
||||
Lex::TokenKind::CloseParen, state.has_error) ==
|
||||
Context::ListTokenKind::Comma) {
|
||||
context.PushState(State::CallExprParameterFinish);
|
||||
context.PushState(State::CallExprParamFinish);
|
||||
context.PushState(State::Expr);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user