c-decl.c: Fix typos in several comments.
authorZack Weinberg <zack@gcc.gnu.org>
Thu, 17 Jul 2003 20:12:21 +0000 (20:12 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Thu, 17 Jul 2003 20:12:21 +0000 (20:12 +0000)
commiteb1dfbb2fb30682e7048332e2c99187497db6c02
tree039fb91b57a3220b33a7ad55edc6af0d1c8d74c3
parent78ff95dc17c157fafe2169b9e0bb47c2417dce85
c-decl.c: Fix typos in several comments.

* c-decl.c: Fix typos in several comments.  Remove all
#if 0 blocks; reindent as needed.  Remove unused argument
to declare_parm_level; all callers changed.
* c-parse.in: Update calls to declare_parm_level.  Avoid
issuing a double warning in some circumstances.
* c-typeck.c: Update calls to declare_parm_level.
* c-tree.h: Update prototype of declare_parm_level.

* c-pragma.c (apply_pragma_weak): Don't complain about a
redundant #pragma weak.

* objc/objc-act.c (forward_declare_categories,
build_selector_reference_decl, build_class_reference_decl,
build_objc_string_decl, synth_forward_declarations,
build_protocol_reference): Set TREE_PUBLIC on synthetic
forward decl to 0, consistent with eventual definition.
Correct comments to match.

cp:
* pt.c (get_bindings): Make definition consistent with
forward declaration.

From-SVN: r69519
gcc/ChangeLog
gcc/c-decl.c
gcc/c-parse.in
gcc/c-pragma.c
gcc/c-tree.h
gcc/c-typeck.c
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/objc/objc-act.c