Commit 9f9a713e by Kazu Hirata Committed by Kazu Hirata

* decl.c: Fix comment typos.

From-SVN: r113175
parent 4f19e578
2006-04-22 Kazu Hirata <kazu@codesourcery.com>
* decl.c: Fix comment typos.
2006-04-21 Eric Christopher <echristo@apple.com> 2006-04-21 Eric Christopher <echristo@apple.com>
* decl.c: Fix typo in function name. * decl.c: Fix typo in function name.
......
...@@ -7712,15 +7712,15 @@ grokdeclarator (const cp_declarator *declarator, ...@@ -7712,15 +7712,15 @@ grokdeclarator (const cp_declarator *declarator,
else if (/* If the qualifying type is already complete, then we else if (/* If the qualifying type is already complete, then we
can skip the following checks. */ can skip the following checks. */
!COMPLETE_TYPE_P (ctype) !COMPLETE_TYPE_P (ctype)
/* If a function is being defined, then the qualifing /* If a function is being defined, then the qualifying
type must be complete. The qualifing type may be type must be complete. The qualifying type may be
incomplete for a declaration only if the qualitying incomplete for a declaration only if the qualifying
type is one of the classes presently being defined, type is one of the classes presently being defined,
or if it is a dependent type. */ or if it is a dependent type. */
&& (funcdef_flag && (funcdef_flag
|| !(dependent_type_p (ctype) || !(dependent_type_p (ctype)
|| currently_open_class (ctype))) || currently_open_class (ctype)))
/* Check that the qualifing type is complete. */ /* Check that the qualifying type is complete. */
&& !complete_type_or_else (ctype, NULL_TREE)) && !complete_type_or_else (ctype, NULL_TREE))
return error_mark_node; return error_mark_node;
else if (TREE_CODE (type) == FUNCTION_TYPE) else if (TREE_CODE (type) == FUNCTION_TYPE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment