aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/prj-dect.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/prj-dect.ads')
-rw-r--r--gcc/ada/prj-dect.ads28
1 files changed, 23 insertions, 5 deletions
diff --git a/gcc/ada/prj-dect.ads b/gcc/ada/prj-dect.ads
index 487fbeb..ade2e43 100644
--- a/gcc/ada/prj-dect.ads
+++ b/gcc/ada/prj-dect.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 2001-2003 Free Software Foundation, Inc. --
+-- Copyright (C) 2001-2005 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- --
@@ -31,9 +31,27 @@ with Prj.Tree;
private package Prj.Dect is
procedure Parse
- (Declarations : out Prj.Tree.Project_Node_Id;
- Current_Project : Prj.Tree.Project_Node_Id;
- Extends : Prj.Tree.Project_Node_Id);
- -- Parse project declarative items. What are parameters ???
+ (In_Tree : Prj.Tree.Project_Node_Tree_Ref;
+ Declarations : out Prj.Tree.Project_Node_Id;
+ Current_Project : Prj.Tree.Project_Node_Id;
+ Extends : Prj.Tree.Project_Node_Id;
+ Packages_To_Check : String_List_Access);
+ -- Parse project declarative items
+ --
+ -- In_Tree is the project node tree
+ --
+ -- Declarations is the resulting project node
+ --
+ -- Current_Project is the project node of the project for which the
+ -- declarative items are parsed.
+ --
+ -- Extends is the project node of the project that project Current_Project
+ -- extends. If project Current-Project does not extend any project,
+ -- Extends has the value Empty_Node.
+ --
+ -- Packages_To_Check is the list of packages that needs to be checked.
+ -- For legal packages declared in project Current_Project that are not in
+ -- Packages_To_Check, only the syntax of the declarations are checked, not
+ -- the attribute names and kinds.
end Prj.Dect;