]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Minor adjustment to the doc of Last_Chance_Handler
authorTonu Naks <naks@adacore.com>
Mon, 14 Jul 2025 13:52:30 +0000 (13:52 +0000)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Thu, 24 Jul 2025 08:52:36 +0000 (10:52 +0200)
gcc/ada/ChangeLog:

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

gcc/ada/doc/gnat_rm/standard_and_implementation_defined_restrictions.rst
gcc/ada/gnat_rm.texi

index 0e9162a190623255055041c99aa45b852c189b57..1f0aa030f2cd0899f05bdebdd63c69495b11bbbe 100644 (file)
@@ -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
index 1ca3ede355b4777816fe38fe3ea52961ce8177fd..5d7bedc67ee0cf1dcb42e0b3cce497ef5e3fa363 100644 (file)
@@ -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