error.c (dump_expr): Handle COMPLEX_CST.
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Tue, 28 Aug 2007 05:55:54 +0000 (05:55 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Tue, 28 Aug 2007 05:55:54 +0000 (05:55 +0000)
* error.c (dump_expr): Handle COMPLEX_CST.
* cxx-pretty-print.c (pp_cxx_primary_expression): Likewise.
(pp_cxx_expression): Likewise.

From-SVN: r127847

gcc/cp/ChangeLog
gcc/cp/cxx-pretty-print.c
gcc/cp/error.c

index ca09bf4ea310fdd4726099815c2c95a24bd5250e..0d412cedeceeba7d032589b9ed0846ef5873cb64 100644 (file)
@@ -1,3 +1,9 @@
+2007-08-28  Gabriel Dos Reis  <gdr@integrable-solutions.net>
+       
+       * error.c (dump_expr): Handle COMPLEX_CST.
+       * cxx-pretty-print.c (pp_cxx_primary_expression): Likewise.
+       (pp_cxx_expression): Likewise.
+
 2007-08-27  Alexandre Oliva  <aoliva@redhat.com>
 
        * decl.c (GNU_INLINE_P): New.
index 18983a4b267797940df1d8ddbd24ac42e3bbcb8f..158cbc4f0763d149c69e791539271a45620a21b8 100644 (file)
@@ -352,6 +352,7 @@ pp_cxx_primary_expression (cxx_pretty_printer *pp, tree t)
     {
     case INTEGER_CST:
     case REAL_CST:
+    case COMPLEX_CST:
     case STRING_CST:
       pp_cxx_constant (pp, t);
       break;
@@ -928,6 +929,7 @@ pp_cxx_expression (cxx_pretty_printer *pp, tree t)
     case STRING_CST:
     case INTEGER_CST:
     case REAL_CST:
+    case COMPLEX_CST:
       pp_cxx_constant (pp, t);
       break;
 
index 2a1fa52d3e58f1f4c6910a98cf6b05d540e61565..90b95c08cac7d7d2f4e17e5b35cf3ee729253169 100644 (file)
@@ -1477,6 +1477,7 @@ dump_expr (tree t, int flags)
     case INTEGER_CST:
     case REAL_CST:
     case STRING_CST:
+    case COMPLEX_CST:
       pp_constant (cxx_pp, t);
       break;