aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/hostparm.ads
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2013-04-11 14:33:22 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2013-04-11 14:33:22 +0200
commitfe96ecb94ac3a81499d804d428d275284e676027 (patch)
tree5aa7f395f252e3b9883e6e1455e0a7338497bdc0 /gcc/ada/hostparm.ads
parent8bfbd380f2c411f1b264fa234b3beb9cde53752b (diff)
downloadgcc-fe96ecb94ac3a81499d804d428d275284e676027.zip
gcc-fe96ecb94ac3a81499d804d428d275284e676027.tar.gz
gcc-fe96ecb94ac3a81499d804d428d275284e676027.tar.bz2
[multiple changes]
2013-04-11 Robert Dewar <dewar@adacore.com> * a-cdlili.adb: Minor addition of pragma Warnings (Off). 2013-04-11 Robert Dewar <dewar@adacore.com> * hostparm.ads: Minor reformatting. 2013-04-11 Hristian Kirtchev <kirtchev@adacore.com> * aspects.ads, aspects.adb: Add Aspect_Depends to all the relevant tables. * elists.ads, elists.adb (Contains): New routine. * par-prag.adb: Pragma Depends does not need any special treatment by the parser. * sem_ch13.adb (Analyze_Aspect_Specifications): Transform aspect Depends into a corresponding pragma. (Check_Aspect_At_Freeze_Point): Aspect Depends does not need inspection at its freeze point. * sem_prag.adb (Analyze_Pragma): Perform analysis and normalization of pragma Depends. Remove the use of function Is_Duplicate_Item. Use End_Scope to uninstalle the formal parameters of a subprogram. Add a value for pragma Depends in table Sig_Flags. (Is_Duplicate_Item): Removed. * snames.ads-tmpl: Add predefined name for Depends as well as a pragma identifier. From-SVN: r197774
Diffstat (limited to 'gcc/ada/hostparm.ads')
-rw-r--r--gcc/ada/hostparm.ads7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/ada/hostparm.ads b/gcc/ada/hostparm.ads
index ebecd5c..d868f2f 100644
--- a/gcc/ada/hostparm.ads
+++ b/gcc/ada/hostparm.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 1992-2012, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2013, 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- --
@@ -54,13 +54,14 @@ package Hostparm is
Normalized_CWD : constant String := "." & Direct_Separator;
-- Normalized string to access current directory
- Max_Line_Length : constant := Types.Column_Number'Pred
- (Types.Column_Number'Last);
+ Max_Line_Length : constant :=
+ Types.Column_Number'Pred (Types.Column_Number'Last);
-- Maximum source line length. By default we set it to the maximum
-- value that can be supported, which is given by the range of the
-- Column_Number type. We subtract 1 because need to be able to
-- have a valid Column_Number equal to Max_Line_Length to represent
-- the location of a "line too long" error.
+ --
-- 200 is the minimum value required (RM 2.2(15)). The value set here
-- can be reduced by the explicit use of the -gnatyM style switch.