diff options
author | Gabriel Dos Reis <gdr@integrable-solutions.net> | 2007-08-28 05:55:54 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2007-08-28 05:55:54 +0000 |
commit | 7368348cb7d8665e6eb213264d6ca056f2f05219 (patch) | |
tree | df13f5aba02a224c85b88012619b618afb92147a | |
parent | 2861f77f870baec825bf93d7fa89b1ee3dc52f10 (diff) | |
download | gcc-7368348cb7d8665e6eb213264d6ca056f2f05219.zip gcc-7368348cb7d8665e6eb213264d6ca056f2f05219.tar.gz gcc-7368348cb7d8665e6eb213264d6ca056f2f05219.tar.bz2 |
error.c (dump_expr): Handle COMPLEX_CST.
* error.c (dump_expr): Handle COMPLEX_CST.
* cxx-pretty-print.c (pp_cxx_primary_expression): Likewise.
(pp_cxx_expression): Likewise.
From-SVN: r127847
-rw-r--r-- | gcc/cp/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/cp/cxx-pretty-print.c | 2 | ||||
-rw-r--r-- | gcc/cp/error.c | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ca09bf4..0d412ce 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -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. diff --git a/gcc/cp/cxx-pretty-print.c b/gcc/cp/cxx-pretty-print.c index 18983a4..158cbc4 100644 --- a/gcc/cp/cxx-pretty-print.c +++ b/gcc/cp/cxx-pretty-print.c @@ -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; diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 2a1fa52..90b95c0 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -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; |