OSDN Git Service

2005-03-29 Ed Falis <falis@adacore.com>
[pf3gnuchains/gcc-fork.git] / gcc / ada / prj-dect.ads
index 88eca53..ade2e43 100644 (file)
@@ -6,8 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---                                                                          --
---             Copyright (C) 2001 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- --
@@ -32,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;