home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
gnat-2.06-src.tgz
/
tar.out
/
fsf
/
gnat
/
ada
/
s-parame.ads
< prev
next >
Wrap
Text File
|
1996-09-28
|
4KB
|
68 lines
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- S Y S T E M . P A R A M E T E R S --
-- --
-- S p e c --
-- --
-- $Revision: 1.7 $ --
-- --
-- Copyright (c) 1992,1993,1994 NYU, All Rights Reserved --
-- --
-- The GNAT library is free software; you can redistribute it and/or modify --
-- it under terms of the GNU Library General Public License as published by --
-- the Free Software Foundation; either version 2, or (at your option) any --
-- later version. The GNAT library 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. See the GNU --
-- Library General Public License for more details. You should have --
-- received a copy of the GNU Library General Public License along with --
-- the GNAT library; see the file COPYING.LIB. If not, write to the Free --
-- Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. --
-- --
------------------------------------------------------------------------------
-- This package defines some system dependent parameters for GNAT. These
-- constants are referenced at compile time and by the runtime library,
-- and may be changed to customize a particular variant of GNAT.
package System.Parameters is
pragma Pure (Parameters);
Count_Max : constant := Integer'Last;
-- Upper bound of type Ada.Text_IO.Count. This value must be large
-- enough so that the assumption that the Line, Column and Page
-- counts can never exceed this value is a valid assumption.
Field_Max : constant := 100;
-- Upper bound of type Ada.Text_IO.Field
Exception_Msg_Max : constant := 200;
-- Maximum length of message in exception occurrence
Max_Line_Length : constant := 200;
-- Maximum source line length. This can be set to any value up to
-- 2**15 - 1, a limit imposed by the assumption that column numbers
-- can be stored in 16 bits (see Types.Column_Number). The value of
-- 200 is the minimum value required (RM 2.2(15)).
Max_Name_Length : constant := 1024;
-- Maximum length of unit name (including all dots, and " (spec)") and
-- of file names in the library, must be at least Max_Line_Length, but
-- can be larger.
Max_Instantiations : constant := 2000;
-- Maximum number of instantiations permitted (to stop runaway cases
-- of nested instantiations). These situations probably only occur in
-- specially concocted test cases.
Max_Static_Aggregate_Size : constant := 1024;
-- Maximum size of aggregate that is built statically (see Sem_Aggr)
Tag_Errors : constant Boolean := False;
-- If set to true, then brief form error messages will be prefaced by
-- the string "error:"
end System.Parameters;