]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Update documentation for External_Initialization
authorRonan Desplanques <desplanques@adacore.com>
Fri, 15 Nov 2024 10:30:11 +0000 (11:30 +0100)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Thu, 12 Dec 2024 09:57:55 +0000 (10:57 +0100)
This fixes an omission in the recent change that was made to file lookup
for External_Initialization.

gcc/ada/ChangeLog:

* doc/gnat_rm/gnat_language_extensions.rst: Update
External_Initialization section.
* gnat_rm.texi: Regenerate.
* gnat_ugn.texi: Regenerate.

gcc/ada/doc/gnat_rm/gnat_language_extensions.rst
gcc/ada/gnat_rm.texi
gcc/ada/gnat_ugn.texi

index 9b3de825acaaaa83b64bf2ec876906112a51a8eb..32fa6fb8e8b91b9f06f9a9409f1eac819b122b79 100644 (file)
@@ -1720,6 +1720,6 @@ Example:
 
 - mandatory ``Path``: the path the compiler uses to access the binary resource.
 
-``Path`` is resolved according to the same rules the compiler uses for loading the source files.
+If ``Path`` is a relative path, it is interpreted relatively to the directory of the file that contains the aspect specification.
 
 .. attention:: The maximum size of loaded files is limited to 2\ :sup:`31` bytes.
index 849404c8e87b85931ad88fb01210d749c421dd41..ee22978b27c66fc7d0964147aa20cff1e6d80cae 100644 (file)
@@ -19,7 +19,7 @@
 
 @copying
 @quotation
-GNAT Reference Manual , Nov 18, 2024
+GNAT Reference Manual , Dec 12, 2024
 
 AdaCore
 
@@ -30979,7 +30979,7 @@ end P;
 mandatory @code{Path}: the path the compiler uses to access the binary resource.
 @end itemize
 
-@code{Path} is resolved according to the same rules the compiler uses for loading the source files.
+If @code{Path} is a relative path, it is interpreted relatively to the directory of the file that contains the aspect specification.
 
 @cartouche
 @quotation Attention 
index a03dc7cae4bbc156df5fe78c3dda629ceeca57c9..c856dddba909d7a488c34427e21a1d2c87040320 100644 (file)
@@ -19,7 +19,7 @@
 
 @copying
 @quotation
-GNAT User's Guide for Native Platforms , Nov 26, 2024
+GNAT User's Guide for Native Platforms , Dec 12, 2024
 
 AdaCore
 
@@ -29839,8 +29839,8 @@ to permit their use in free software.
 
 @printindex ge
 
-@anchor{gnat_ugn/gnat_utility_programs switches-related-to-project-files}@w{                              }
 @anchor{d2}@w{                              }
+@anchor{gnat_ugn/gnat_utility_programs switches-related-to-project-files}@w{                              }
 
 @c %**end of body
 @bye