aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/prepcomp.ads
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2014-07-29 16:53:10 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2014-07-29 16:53:10 +0200
commit5ae243127908fa14634e086d2e55b8a996f95a2c (patch)
tree796fc6ce2f5ce29e6152b38ef2f353d67a74b52b /gcc/ada/prepcomp.ads
parent3c04da40217fd70dea865002a045625bc7a62fd6 (diff)
downloadgcc-5ae243127908fa14634e086d2e55b8a996f95a2c.zip
gcc-5ae243127908fa14634e086d2e55b8a996f95a2c.tar.gz
gcc-5ae243127908fa14634e086d2e55b8a996f95a2c.tar.bz2
[multiple changes]
2014-07-29 Vincent Celier <celier@adacore.com> * frontend.adb: Add dependency on gnat.adc when taken into account and on non-temporary configuration pragmas files specified in switches -gnatec. * prepcomp.ads, prepcomp.adb (Add_Dependency): New procedure to add dependencies on configuration pragmas files. 2014-07-29 Pat Rogers <rogers@adacore.com> * gnat_ugn.texi: Minor clarification to the explanation for the GNATtest -v switch. From-SVN: r213204
Diffstat (limited to 'gcc/ada/prepcomp.ads')
-rw-r--r--gcc/ada/prepcomp.ads12
1 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ada/prepcomp.ads b/gcc/ada/prepcomp.ads
index 00ddf13..ea132ff 100644
--- a/gcc/ada/prepcomp.ads
+++ b/gcc/ada/prepcomp.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 2002-2011, Free Software Foundation, Inc. --
+-- Copyright (C) 2002-2014, 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- --
@@ -26,12 +26,20 @@
-- This package stores all preprocessing data for the compiler
with Namet; use Namet;
+with Types; use Types;
package Prepcomp is
+ procedure Add_Dependency (S : Source_File_Index);
+ -- Add a dependency on a non-source file.
+ -- This is used internally for the preprocessing data file and the
+ -- preprocessing definition file, and also externally for non-temporary
+ -- configuration pragmas files.
+
procedure Add_Dependencies;
-- Add dependencies on the preprocessing data file and the preprocessing
- -- definition files, if any.
+ -- definition files, if any, and the non-temporary configuration pragmas
+ -- files, if any.
procedure Check_Symbols;
-- Check if there are preprocessing symbols on the command line and set