diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2014-02-06 11:11:07 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2014-02-06 11:11:07 +0100 |
commit | a0367a97c5b4c714b43066ea44c66333f0526056 (patch) | |
tree | fa134c2379a030767243524185079b49ece51c23 /gcc/ada/nlists.ads | |
parent | ce3904da34e70f926123e730107380dede9353d3 (diff) | |
download | gcc-a0367a97c5b4c714b43066ea44c66333f0526056.zip gcc-a0367a97c5b4c714b43066ea44c66333f0526056.tar.gz gcc-a0367a97c5b4c714b43066ea44c66333f0526056.tar.bz2 |
[multiple changes]
2014-02-06 Pascal Obry <obry@adacore.com>
* prj-util.adb (For_Interface_Sources): Fix handling of required
bodies for aggregate libs.
2014-02-06 Robert Dewar <dewar@adacore.com>
* nlists.ads: Minor comment clarifications.
2014-02-06 Robert Dewar <dewar@adacore.com>
* gnat1drv.adb (Adjust_Global_Switches): Set Modify_Tree_For_C
if gnatd.V set.
* opt.ads (Modify_Tree_For_C): New flag.
* output.ads, output.adb (Last_Char): New function.
2014-02-06 Pascal Obry <obry@adacore.com>
* projects.texi, prj-env.adb (Initialize_Default_Project_Path): Add
share/gpr for cross-builds.
From-SVN: r207542
Diffstat (limited to 'gcc/ada/nlists.ads')
-rw-r--r-- | gcc/ada/nlists.ads | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ada/nlists.ads b/gcc/ada/nlists.ads index 5fd66de..42c280e 100644 --- a/gcc/ada/nlists.ads +++ b/gcc/ada/nlists.ads @@ -346,7 +346,9 @@ package Nlists is function No (List : List_Id) return Boolean; pragma Inline (No); -- Tests given Id for equality with No_List. This allows notations like - -- "if No (Statements)" as opposed to "if Statements = No_List". + -- "if No (Statements)" as opposed to "if Statements = No_List". Note that + -- an empty list gives False for this test, as opposed to Is_Empty_List + -- which gives True either for No_List or for an empty list. function Present (List : List_Id) return Boolean; pragma Inline (Present); |