aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-iterator.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-iterator.c')
-rw-r--r--gcc/tree-iterator.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/tree-iterator.c b/gcc/tree-iterator.c
index 3c2acd3..c4c3010 100644
--- a/gcc/tree-iterator.c
+++ b/gcc/tree-iterator.c
@@ -330,8 +330,9 @@ expr_last (tree expr)
return expr;
}
-/* If EXPR is a single statement, naked or in a STATEMENT_LIST, then
- return it. Otherwise return NULL. */
+/* If EXPR is a single statement return it. If EXPR is a
+ STATEMENT_LIST containing exactly one statement S, return S.
+ Otherwise, return NULL. */
tree
expr_only (tree expr)