]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
prj-util.adb (For_Interface_Sources): Skip non compilable languages.
authorPascal Obry <obry@adacore.com>
Thu, 6 Feb 2014 10:06:38 +0000 (10:06 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 6 Feb 2014 10:06:38 +0000 (11:06 +0100)
2014-02-06  Pascal Obry  <obry@adacore.com>

* prj-util.adb (For_Interface_Sources): Skip non compilable languages.
* prj.ads: Minor typo fix in comment.

From-SVN: r207538

gcc/ada/ChangeLog
gcc/ada/prj-util.adb
gcc/ada/prj.ads

index 2b58fce30ebc7c80c4e704a2d2728e1498746741..57899c72ee2c63c02ff86ed4e3ed6b9caa1f7819 100644 (file)
@@ -1,3 +1,8 @@
+2014-02-06  Pascal Obry  <obry@adacore.com>
+
+       * prj-util.adb (For_Interface_Sources): Skip non compilable languages.
+       * prj.ads: Minor typo fix in comment.
+
 2014-02-06  Hristian Kirtchev  <kirtchev@adacore.com>
 
        * sem_prag.adb (Analyze_Depends_In_Decl_Part): Add
index 1cea3163d7f0ad98337d6068ee668754d1434289..0861b0f2c3d21c50c24423c7171f7714d74df11c 100644 (file)
@@ -470,6 +470,7 @@ package body Prj.Util is
            and then not Sid.Locally_Removed
            and then (Project.Standalone_Library = No
                      or else Sid.Declared_In_Interfaces)
+           and then Sid.Dep_Name /= No_File -- for non compilable languages
          then
             Action (Sid);
 
index 5607502a34c2a6ce2c01c50b38b6e1ad7bff7982..519e874016171684b6dbf56a2fa75d46b524ab08 100644 (file)
@@ -511,7 +511,7 @@ package Prj is
       --  there is no need for such switch.
 
       Object_Generated : Boolean := True;
-      --  False in no object file is generated
+      --  False if no object file is generated
 
       Objects_Linked : Boolean := True;
       --  False if object files are not use to link executables and build