Message ID | 20100622123420.GA23054@adacore.com |
---|---|
State | New |
Headers | show |
Index: errout.adb =================================================================== --- errout.adb (revision 161169) +++ errout.adb (working copy) @@ -2499,7 +2499,7 @@ package body Errout is -- in case, which is the case when we can copy from the source. declare - Src_Loc : constant Source_Ptr := Sloc (Error_Msg_Node_1); + Src_Loc : constant Source_Ptr := Sloc (Node); Sbuffer : Source_Buffer_Ptr; Ref_Ptr : Integer; Src_Ptr : Source_Ptr;