diff options
Diffstat (limited to 'gcc/ada/prj-pars.ads')
-rw-r--r-- | gcc/ada/prj-pars.ads | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ada/prj-pars.ads b/gcc/ada/prj-pars.ads index a928d3a..4f157ef 100644 --- a/gcc/ada/prj-pars.ads +++ b/gcc/ada/prj-pars.ads @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 2000-2001 Free Software Foundation, Inc. -- +-- Copyright (C) 2000-2003 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- -- @@ -23,9 +23,11 @@ -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ --- + -- Implements the parsing of project files. +with GNAT.OS_Lib; use GNAT.OS_Lib; + package Prj.Pars is procedure Set_Verbosity (To : Verbosity); @@ -33,10 +35,14 @@ package Prj.Pars is procedure Parse (Project : out Project_Id; - Project_File_Name : String); + Project_File_Name : String; + Packages_To_Check : String_List_Access := All_Packages); -- Parse a project files and all its imported project files. -- If parsing is successful, Project_Id is the project ID -- of the main project file; otherwise, Project_Id is set -- to No_Project. + -- Packages_To_Check indicates the packages where any unknown attribute + -- produces an error. For other packages, an unknown attribute produces + -- a warning. end Prj.Pars; |