Explorar o código

Fix comment on DeclNameAndParamsAfterImplicit (#4904)

Co-authored-by: Jon Ross-Perkins <jperkins@google.com>
Dana Jansens hai 1 ano
pai
achega
7d46add4e1
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      toolchain/parse/state.def

+ 4 - 4
toolchain/parse/state.def

@@ -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 [ ... ] ( ... ) .
 //                      ^