Fix comment on DeclNameAndParamsAfterImplicit (#4904)

Co-authored-by: Jon Ross-Perkins <jperkins@google.com>
This commit is contained in:
Dana Jansens
2025-02-06 19:01:48 +00:00
committed by GitHub
co-authored by Jon Ross-Perkins
parent f3a898bac0
commit 7d46add4e1
+4 -4
View File
@@ -250,8 +250,8 @@ CARBON_PARSE_STATE(CodeBlockFinish)
// (state done)
CARBON_PARSE_STATE(DeclNameAndParams)
// Handles regular parameters such as `(...)` for the general declaration case.
// Only used after implicit parameters.
// Inside a declaration, conditionally starts explicit parameter handling. Only
// used after implicit parameters.
//
// name [ ... ] ( ... )
// ^
@@ -263,8 +263,8 @@ CARBON_PARSE_STATE(DeclNameAndParams)
// (state done)
CARBON_PARSE_STATE(DeclNameAndParamsAfterImplicit)
// Handles regular parameters such as `(...)` for the general declaration case.
// Only used after implicit parameters.
// Inside a declaration, conditionally starts another qualified name. Only used
// after regular parameters.
//
// name [ ... ] ( ... ) .
// ^