]> gcc.gnu.org Git - gcc.git/commitdiff
(digest_init): Fix error message text.
authorRichard Stallman <rms@gnu.org>
Tue, 7 Sep 1993 21:46:24 +0000 (21:46 +0000)
committerRichard Stallman <rms@gnu.org>
Tue, 7 Sep 1993 21:46:24 +0000 (21:46 +0000)
From-SVN: r5277

gcc/c-typeck.c

index 91fff2953494d6f656c528078f5dd5d3d9583203..e215b22d82f3a2981f9dab679ecdbb587077fb82 100644 (file)
@@ -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))
        {
This page took 0.081642 seconds and 5 git commands to generate.