aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/frontend.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2009-04-16 14:17:56 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2009-04-16 14:17:56 +0200
commit4e0079cc3ce34e5d73d82ad99c96b43b7f5184e7 (patch)
tree8a23d332bae4e014e749fa8c79b5f8910a336c66 /gcc/ada/frontend.adb
parent9093359a7b5a48d0d93cd9f4f7620647c8d09d40 (diff)
downloadgcc-4e0079cc3ce34e5d73d82ad99c96b43b7f5184e7.zip
gcc-4e0079cc3ce34e5d73d82ad99c96b43b7f5184e7.tar.gz
gcc-4e0079cc3ce34e5d73d82ad99c96b43b7f5184e7.tar.bz2
[multiple changes]
2009-04-16 Thomas Quinot <quinot@adacore.com> * snames.ads-tmpl (Name_Defined): New predefined name for use by the integrated preprocessor. * prep.ads, prep.adb (Setup_Hooks): New subprogram. (Initialize): Split into two subprograms, Initialize (to be called prior to compiler command line processing) and Setup_Hooks (to be called later on when the first source file is loaded). * gprep.adb: Change call to Prep.Initialize to call to Prep.Setup_Hooks. Add call to Prep.Initialize. * sinput-l.adb, prepcomp.adb: Change call to Prep.Initialize to call to Prep.Setup_Hooks. 2009-04-16 Pascal Obry <obry@adacore.com> * adaint.h, adaint.c (__gnat_chdir): New routine. Simple wrapper routines used to convert to proper encoding on Windows. * s-crtl.ads: Use __gnat_chdir instead of direct call to the C library. * a-direct.adb, g-dirope.adb: Use chdir from System.CRTL. From-SVN: r146174
Diffstat (limited to 'gcc/ada/frontend.adb')
-rw-r--r--gcc/ada/frontend.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/ada/frontend.adb b/gcc/ada/frontend.adb
index ac3b2c8..7109383 100644
--- a/gcc/ada/frontend.adb
+++ b/gcc/ada/frontend.adb
@@ -42,6 +42,7 @@ with Nlists; use Nlists;
with Opt; use Opt;
with Osint;
with Par;
+with Prep;
with Prepcomp;
with Restrict; use Restrict;
with Rident; use Rident;
@@ -84,6 +85,7 @@ begin
Fname.UF.Initialize;
Checks.Initialize;
Sem_Warn.Initialize;
+ Prep.Initialize;
-- Create package Standard