aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-09-07 21:46:24 +0000
committerRichard Stallman <rms@gnu.org>1993-09-07 21:46:24 +0000
commite3a12f0cb1d544f7b86c93f3073c0a6459f2f394 (patch)
tree793a398128d1f4519a7de6ea98d523fa8e09c3db /gcc
parent943cc2426149ff3f490440e2cbae76a736613a48 (diff)
downloadgcc-e3a12f0cb1d544f7b86c93f3073c0a6459f2f394.zip
gcc-e3a12f0cb1d544f7b86c93f3073c0a6459f2f394.tar.gz
gcc-e3a12f0cb1d544f7b86c93f3073c0a6459f2f394.tar.bz2
(digest_init): Fix error message text.
From-SVN: r5277
Diffstat (limited to 'gcc')
-rw-r--r--gcc/c-typeck.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c
index 91fff29..e215b22 100644
--- a/gcc/c-typeck.c
+++ b/gcc/c-typeck.c
@@ -5002,16 +5002,12 @@ digest_init (type, init, require_constant, constructor_constant)
if (code == INTEGER_TYPE || code == REAL_TYPE || code == POINTER_TYPE
|| code == ENUMERAL_TYPE || code == COMPLEX_TYPE)
{
- SAVE_SPELLING_DEPTH
- ({
- /* Note that convert_for_assignment calls default_conversion
- for arrays and functions. We must not call it in the
- case where inside_init is a null pointer constant. */
- inside_init
- = convert_for_assignment (type, init,
- &initialization_message,
- NULL_TREE, NULL_TREE, 0);
- });
+ /* Note that convert_for_assignment calls default_conversion
+ for arrays and functions. We must not call it in the
+ case where inside_init is a null pointer constant. */
+ inside_init
+ = convert_for_assignment (type, init, "initialization",
+ NULL_TREE, NULL_TREE, 0);
if (require_constant && ! TREE_CONSTANT (inside_init))
{