Commit f25669da by Jason Merrill Committed by Jason Merrill

* ptree.c (cxx_print_xnode): Handle TEMPLATE_INFO.

From-SVN: r162268
parent d4404fee
2010-07-16 Jason Merrill <jason@redhat.com>
* ptree.c (cxx_print_xnode): Handle TEMPLATE_INFO.
2010-07-15 Nathan Froyd <froydnj@codesourcery.com> 2010-07-15 Nathan Froyd <froydnj@codesourcery.com>
* init.c (build_new_1): Use cp_build_function_call_nary instead of * init.c (build_new_1): Use cp_build_function_call_nary instead of
......
...@@ -207,6 +207,15 @@ cxx_print_xnode (FILE *file, tree node, int indent) ...@@ -207,6 +207,15 @@ cxx_print_xnode (FILE *file, tree node, int indent)
TEMPLATE_PARM_IDX (node), TEMPLATE_PARM_LEVEL (node), TEMPLATE_PARM_IDX (node), TEMPLATE_PARM_LEVEL (node),
TEMPLATE_PARM_ORIG_LEVEL (node)); TEMPLATE_PARM_ORIG_LEVEL (node));
break; break;
case TEMPLATE_INFO:
print_node (file, "template", TI_TEMPLATE (node), indent+4);
print_node (file, "args", TI_ARGS (node), indent+4);
if (TI_PENDING_TEMPLATE_FLAG (node))
{
indent_to (file, indent + 3);
fprintf (file, "pending_template");
}
break;
default: default:
break; 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