]> gcc.gnu.org Git - gcc.git/commitdiff
(digest_init): Handle COMPLEX_TYPE like other scalars.
authorRichard Stallman <rms@gnu.org>
Thu, 18 Mar 1993 21:31:09 +0000 (21:31 +0000)
committerRichard Stallman <rms@gnu.org>
Thu, 18 Mar 1993 21:31:09 +0000 (21:31 +0000)
From-SVN: r3779

gcc/c-typeck.c

index d5c251be668a9d15ee9578b683a6a3449d52c8d1..7070db9893ace7e0a16a81405385e99c2cd999c9 100644 (file)
@@ -4903,7 +4903,7 @@ digest_init (type, init, tail, require_constant, constructor_constant, ofwhat)
   /* Handle scalar types, including conversions.  */
 
   if (code == INTEGER_TYPE || code == REAL_TYPE || code == POINTER_TYPE
-      || code == ENUMERAL_TYPE)
+      || code == ENUMERAL_TYPE || code == COMPEX_TYPE)
     {
       if (raw_constructor)
        {
This page took 0.067618 seconds and 5 git commands to generate.