diff options
Diffstat (limited to 'gcc/ada/impunit.ads')
-rw-r--r-- | gcc/ada/impunit.ads | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ada/impunit.ads b/gcc/ada/impunit.ads index f14ac7c91fd..f2ffc4efa1c 100644 --- a/gcc/ada/impunit.ads +++ b/gcc/ada/impunit.ads @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 2000-2005, Free Software Foundation, Inc. -- +-- Copyright (C) 2000-2006, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -58,4 +58,10 @@ package Impunit is -- Given the unit number of a unit, this function determines the type -- of the unit, as defined above. + function Is_Known_Unit (Nam : Node_Id) return Boolean; + -- Nam is the possible name of a child unit, represented as a selected + -- component node. This function determines whether the name matches + -- one of the known library units, and if so, returns True. If the name + -- does not match any known library unit, False is returned. + end Impunit; |