]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Print Insertion_Sloc in dmsg
authorViljar Indus <indus@adacore.com>
Mon, 22 Jul 2024 06:45:03 +0000 (09:45 +0300)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Thu, 29 Aug 2024 13:06:28 +0000 (15:06 +0200)
gcc/ada/

* erroutc.adb (dmsg): Print Insertion_Sloc.

gcc/ada/erroutc.adb

index 4e0a9f26e0df5f9580b60cdd764b4e089da2141f..db1c0923e907b932613dbbedc02b2bd689f81f82 100644 (file)
@@ -327,6 +327,11 @@ package body Erroutc is
       Write_Location (E.Optr.Ptr);
       Write_Eol;
 
+      Write_Str
+        ("  Insertion_Sloc     = ");
+      Write_Location (E.Insertion_Sloc);
+      Write_Eol;
+
       w ("  Line               = ", Int (E.Line));
       w ("  Col                = ", Int (E.Col));
       w ("  Info               = ", E.Info);