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
This commit is contained in:
parent
413d3aa89d
commit
4e53d196cc
|
@ -1,3 +1,7 @@
|
|||
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))
|
||||
|
|
Loading…
Reference in New Issue