Commit b29ee02b by Gabriel Dos Reis Committed by Gabriel Dos Reis

* c-pretty-print.c (pp_c_constant): Handle COMPLEX_CST.

From-SVN: r127852
parent c536a6a7
2007-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
* c-pretty-print.c (pp_c_constant): Handle COMPLEX_CST.
2007-08-28 Richard Guenther <rguenther@suse.de>
* tree.h (DECL_DISREGARD_INLINE_LIMITS): New.
......
......@@ -1012,6 +1012,13 @@ pp_c_constant (c_pretty_printer *pp, tree e)
pp_c_string_literal (pp, e);
break;
case COMPLEX_CST:
/* Sometimes, we are confused and we think a complex literal
is a constant. Such thing is a compound literal which
grammatically belongs to postifx-expr production. */
pp_c_compound_literal (pp, e);
break;
default:
pp_unsupported_tree (pp, e);
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment