------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- -- -- A 4 G . C O N T T -- -- -- -- B o d y -- -- -- -- Copyright (C) 1995-2014, Free Software Foundation, Inc. -- -- -- -- ASIS-for-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 -- -- Software Foundation; either version 3, or (at your option) any later -- -- version. ASIS-for-GNAT is distributed in the hope that it will be -- -- useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -- -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception distributed with GNAT; see -- -- the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- . -- -- -- -- ASIS-for-GNAT was originally developed by the ASIS-for-GNAT team at the -- -- Software Engineering Laboratory of the Swiss Federal Institute of -- -- Technology (LGL-EPFL) in Lausanne, Switzerland, in cooperation with the -- -- Scientific Research Computer Center of Moscow State University (SRCC -- -- MSU), Russia, with funding partially provided by grants from the Swiss -- -- National Science Foundation and the Swiss Academy of Engineering -- -- Sciences. ASIS-for-GNAT is now maintained by AdaCore. -- -- (http://www.adacore.com). -- -- -- ------------------------------------------------------------------------------ pragma Ada_2012; with Ada.Command_Line; with GNAT.Directory_Operations; with Asis; use Asis; with Asis.Errors; use Asis.Errors; with Asis.Exceptions; use Asis.Exceptions; with Asis.Extensions; use Asis.Extensions; with A4G.A_Debug; use A4G.A_Debug; with A4G.A_Osint; use A4G.A_Osint; with A4G.A_Output; use A4G.A_Output; with A4G.Contt.Dp; use A4G.Contt.Dp; with A4G.Contt.SD; use A4G.Contt.SD; with A4G.Contt.TT; use A4G.Contt.TT; with A4G.Contt.UT; use A4G.Contt.UT; with A4G.Defaults; use A4G.Defaults; with A4G.Vcheck; use A4G.Vcheck; with Namet; use Namet; with Output; use Output; package body A4G.Contt is ------------------------------------------- -- Local Subprograms and Data Structures -- ------------------------------------------- procedure Set_Empty_Context (C : Context_Id); -- Set all the attribute of the Context indicated by C as for a -- Context having no associations (being empty) procedure Set_Predefined_Units; -- Sets in the Unit Table the unit entries corresponding to the predefined -- Ada environment. For now it sets the entries for the package Standard -- only. procedure Print_Context_Search_Dirs (C : Context_Id; Dir_Kind : Search_Dir_Kinds); -- outputs the list of the directories making up the Dir_Kind search path -- for the context C; is intended to be used to produce a part of the -- Context debug output procedure Process_Dir (Dir_Name : String; Dir_Kind : Search_Dir_Kinds); -- verifies the part of the context association parameter following the -- two leading "-