diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-16 12:17:56 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-16 12:17:56 +0000 |
commit | a8d94a8f4f54bf294ab409c8d617ae8bdfaf0f46 (patch) | |
tree | 8a23d332bae4e014e749fa8c79b5f8910a336c66 /gcc/ada/gprep.adb | |
parent | 880fe3cee1b1ca470b6e9b10da27868a42c9ca29 (diff) | |
download | gcc-a8d94a8f4f54bf294ab409c8d617ae8bdfaf0f46.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146174 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/gprep.adb')
-rw-r--r-- | gcc/ada/gprep.adb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ada/gprep.adb b/gcc/ada/gprep.adb index c4cf14ba93c..ec56bcc171f 100644 --- a/gcc/ada/gprep.adb +++ b/gcc/ada/gprep.adb @@ -167,10 +167,11 @@ package body GPrep is Namet.Initialize; Snames.Initialize; Stringt.Initialize; + Prep.Initialize; -- Initialize the preprocessor - Prep.Initialize + Prep.Setup_Hooks (Error_Msg => Errutil.Error_Msg'Access, Scan => Scanner.Scan'Access, Set_Ignore_Errors => Errutil.Set_Ignore_Errors'Access, |