* arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi)
[official-gcc.git] / gcc / ada / fname-sf.ads
blob93e3a7887ad98247696ed8946daf63ec63dafd66
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT COMPILER COMPONENTS --
4 -- --
5 -- F N A M E . S F --
6 -- --
7 -- S p e c --
8 -- --
9 -- --
10 -- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
11 -- --
12 -- GNAT is free software; you can redistribute it and/or modify it under --
13 -- terms of the GNU General Public License as published by the Free Soft- --
14 -- ware Foundation; either version 2, or (at your option) any later ver- --
15 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
16 -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
17 -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
18 -- for more details. You should have received a copy of the GNU General --
19 -- Public License distributed with GNAT; see file COPYING. If not, write --
20 -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
21 -- MA 02111-1307, USA. --
22 -- --
23 -- GNAT was originally developed by the GNAT team at New York University. --
24 -- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
25 -- --
26 ------------------------------------------------------------------------------
28 -- This child package contains a routine to read and process Source_File_Name
29 -- pragmas from the gnat.adc file in the current directory. In order to use
30 -- the routines in package Fname.UF, it is required that Source_File_Name
31 -- pragmas be processed. There are two places where such processing takes
32 -- place:
34 -- The compiler front end (par-prag.adb), which is the general circuit
35 -- for processing all pragmas, including Source_File_Name.
37 -- The stand alone routine in this unit, which is convenient to use
38 -- from tools that do not want to include the compiler front end.
40 -- Note that this unit does depend on several of the compiler front-end
41 -- sources, including osint. If it is necessary to scan source file name
42 -- pragmas with less dependence on such sources, look at unit SFN_Scan.
44 package Fname.SF is
46 procedure Read_Source_File_Name_Pragmas;
47 -- This procedure is called to read the gnat.adc file and process any
48 -- Source_File_Name pragmas contained in this file. All other pragmas
49 -- are ignored. The result is appropriate calls to routines in the
50 -- package Fname.UF to register the pragmas so that subsequent calls
51 -- to Get_File_Name work correctly.
53 -- Note: The caller must have made an appropriate call to the
54 -- Osint.Initialize routine to initialize Osint before calling
55 -- this procedure.
57 -- If a syntax error is detected while scanning the gnat.adc file,
58 -- then the exception SFN_Scan.Syntax_Error_In_GNAT_ADC is raised
59 -- and SFN_Scan.Cursor contains the approximate index relative to
60 -- the start of the gnat.adc file of the error.
62 end Fname.SF;