]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/ada/gnat_rm.texi
libgomp.texi (omp_test_lock): Fix typo.
[thirdparty/gcc.git] / gcc / ada / gnat_rm.texi
index 5046cc56c731a014b4cbd1bacb0a44858c9bff09..47152e4bfbe9f94677122990780575c5b99e9278 100644 (file)
@@ -8345,15 +8345,17 @@ be provided. In this mode, exceptions may be raised but will result in
 an immediate call to the last chance handler, a routine that the user
 must define with the following profile:
 
-   procedure Last_Chance_Handler
-     (Source_Location : System.Address; Line : Integer);
-   pragma Export (C, Last_Chance_Handler,
-                  "__gnat_last_chance_handler");
+@smallexample @c ada
+procedure Last_Chance_Handler
+  (Source_Location : System.Address; Line : Integer);
+pragma Export (C, Last_Chance_Handler,
+               "__gnat_last_chance_handler");
+@end smallexample
 
-   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
-   represents the line number in the source program where the raise occurs.
+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
+represents the line number in the source program where the raise occurs.
 
 @item No_Exception_Propagation
 @findex No_Exception_Propagation
@@ -11663,8 +11665,7 @@ The following predefined instantiations of this package are provided:
 @item Float
 @code{Ada.Numerics.Complex_Elementary_Functions}
 @item Long_Float
-@code{Ada.Numerics.
- Long_Complex_Elementary_Functions}
+@code{Ada.Numerics.Long_Complex_Elementary_Functions}
 @end table
 
 @item Ada.Numerics.Generic_Complex_Types