Commit 4e53d196 by Simon Baldwin Committed by Diego Novillo

toplev.c (default_tree_printer): Add handling for %E format.

2009-04-17  Simon Baldwin  <simonb@google.com>

	* toplev.c (default_tree_printer): Add handling for %E format.

From-SVN: r146294
parent 413d3aa8
2009-04-17 Simon Baldwin <simonb@google.com>
* toplev.c (default_tree_printer): Add handling for %E format.
2009-04-17 Diego Novillo <dnovillo@google.com>
* tree-pretty-print.c (dump_generic_node): Add break
......
......@@ -1508,6 +1508,15 @@ default_tree_printer (pretty_printer * pp, text_info *text, const char *spec,
switch (*spec)
{
case 'E':
t = va_arg (*text->args_ptr, tree);
if (TREE_CODE (t) == IDENTIFIER_NODE)
{
pp_string (pp, IDENTIFIER_POINTER (t));
return true;
}
break;
case 'D':
t = va_arg (*text->args_ptr, tree);
if (DECL_DEBUG_EXPR_IS_FROM (t) && DECL_DEBUG_EXPR (t))
......
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