summaryrefslogtreecommitdiff
path: root/gcc/ada/atree.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/atree.ads')
-rw-r--r--gcc/ada/atree.ads11
1 files changed, 7 insertions, 4 deletions
diff --git a/gcc/ada/atree.ads b/gcc/ada/atree.ads
index 8a4da3f9ab6..45d8f08553f 100644
--- a/gcc/ada/atree.ads
+++ b/gcc/ada/atree.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- $Revision: 1.155 $
+-- $Revision$
-- --
-- Copyright (C) 1992-2001, Free Software Foundation, Inc. --
-- --
@@ -495,7 +495,7 @@ package Atree is
-- function is used only by Sinfo.CN to change nodes into their
-- corresponding entities.
- type Traverse_Result is (OK, Skip, Abandon);
+ type Traverse_Result is (OK, OK_Orig, Skip, Abandon);
-- This is the type of the result returned by the Process function passed
-- to Traverse_Func and Traverse_Proc and also the type of the result of
-- Traverse_Func itself. See descriptions below for details.
@@ -508,8 +508,11 @@ package Atree is
-- Process on each one. The traversal is controlled as follows by the
-- result returned by Process:
- -- OK The traversal continues normally with the children of
- -- the node just processed.
+ -- OK The traversal continues normally with the syntactic
+ -- children of the node just processed.
+
+ -- OK_Orig The traversal continues normally with the syntactic
+ -- children of the original node of the node just processed.
-- Skip The children of the node just processed are skipped and
-- excluded from the traversal, but otherwise processing