From: Tonu Naks <n...@adacore.com>

gcc/ada/ChangeLog:

        * doc/gnat_rm/standard_and_implementation_defined_restrictions.rst:
        clarify parameter description.
        * gnat_rm.texi: Regenerate.

Tested on x86_64-pc-linux-gnu, committed on master.

---
 .../standard_and_implementation_defined_restrictions.rst  | 6 +++---
 gcc/ada/gnat_rm.texi                                      | 8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git 
a/gcc/ada/doc/gnat_rm/standard_and_implementation_defined_restrictions.rst 
b/gcc/ada/doc/gnat_rm/standard_and_implementation_defined_restrictions.rst
index 0e9162a1906..1f0aa030f2c 100644
--- a/gcc/ada/doc/gnat_rm/standard_and_implementation_defined_restrictions.rst
+++ b/gcc/ada/doc/gnat_rm/standard_and_implementation_defined_restrictions.rst
@@ -333,9 +333,9 @@ must define with the following profile:
                  "__gnat_last_chance_handler");
 
 
-The parameter is a C null-terminated string representing a message to be
-associated with the exception (typically the source location of the raise
-statement generated by the compiler). The Line parameter when nonzero
+The ``Source_Location`` parameter is a C null-terminated string representing a
+message to be associated with the exception (typically the source location of
+the raise statement generated by the compiler). The Line parameter when nonzero
 represents the line number in the source program where the raise occurs.
 
 No_Exception_Propagation
diff --git a/gcc/ada/gnat_rm.texi b/gcc/ada/gnat_rm.texi
index 1ca3ede355b..5d7bedc67ee 100644
--- a/gcc/ada/gnat_rm.texi
+++ b/gcc/ada/gnat_rm.texi
@@ -19,7 +19,7 @@
 
 @copying
 @quotation
-GNAT Reference Manual , Jul 21, 2025
+GNAT Reference Manual , Jul 24, 2025
 
 AdaCore
 
@@ -13072,9 +13072,9 @@ pragma Export (C, Last_Chance_Handler,
                "__gnat_last_chance_handler");
 @end example
 
-The parameter is a C null-terminated string representing a message to be
-associated with the exception (typically the source location of the raise
-statement generated by the compiler). The Line parameter when nonzero
+The @code{Source_Location} parameter is a C null-terminated string 
representing a
+message to be associated with the exception (typically the source location of
+the raise statement generated by the compiler). The Line parameter when nonzero
 represents the line number in the source program where the raise occurs.
 
 @node 
No_Exception_Propagation,No_Exception_Registration,No_Exception_Handlers,Partition-Wide
 Restrictions
-- 
2.43.0

Reply via email to