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
This commit is contained in:
Gabriel Dos Reis 2007-08-28 05:55:54 +00:00 committed by Gabriel Dos Reis
parent 2861f77f87
commit 7368348cb7
3 changed files with 9 additions and 0 deletions

View 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.

View 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;

View 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;