aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-12-05 02:42:10 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-12-05 02:42:10 +0000
commit86fff623afa161dc0997319a2112ac51f62ef0ed (patch)
tree53798d61e5d3fb49d9f72272a44ba10668704a38 /gcc/print-tree.c
parentc9818a41dc9b1c13aa187cfa22e3d7fd77890a7d (diff)
downloadgcc-86fff623afa161dc0997319a2112ac51f62ef0ed.zip
gcc-86fff623afa161dc0997319a2112ac51f62ef0ed.tar.gz
gcc-86fff623afa161dc0997319a2112ac51f62ef0ed.tar.bz2
tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
* tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting. * tree.h (EXPR_WFL_FILENAME): Define in terms of EXPR_WFL_FILENAME_NODE. (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than the TREE_CHAIN. * print-tree.c (print_note): Print TREE_PRIVATE and TREE_PROTECTED. From-SVN: r30783
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r--gcc/print-tree.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index 4b82b89..caf2aee 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -304,6 +304,10 @@ print_node (file, prefix, node, indent)
fputs (" permanent", file);
if (TREE_PUBLIC (node))
fputs (" public", file);
+ if (TREE_PRIVATE (node))
+ fputs (" private", file);
+ if (TREE_PROTECTED (node))
+ fputs (" protected", file);
if (TREE_STATIC (node))
fputs (" static", file);
if (TREE_LANG_FLAG_0 (node))