summaryrefslogtreecommitdiff
path: root/gcc/ada/exp_dist.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/exp_dist.ads')
-rw-r--r--gcc/ada/exp_dist.ads13
1 files changed, 7 insertions, 6 deletions
diff --git a/gcc/ada/exp_dist.ads b/gcc/ada/exp_dist.ads
index 49b96a8d03e..a0bb6c113db 100644
--- a/gcc/ada/exp_dist.ads
+++ b/gcc/ada/exp_dist.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 1992-2011, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2012, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -144,13 +144,14 @@ package Exp_Dist is
-- declaration is appended to Decls.
function Build_To_Any_Call
- (N : Node_Id;
+ (Loc : Source_Ptr;
+ N : Node_Id;
Decls : List_Id) return Node_Id;
-- Build call to To_Any attribute function with expression as actual
- -- parameter. Decls is the declarations list for an appropriate
- -- enclosing scope of the point where the call will be inserted; if
- -- the To_Any attribute for Typ needs to be generated at this point,
- -- its declaration is appended to Decls.
+ -- parameter. Loc is the reference location for generated nodes, Decls is
+ -- the declarations list for an appropriate enclosing scope of the point
+ -- where the call will be inserted; if the To_Any attribute for Typ needs
+ -- to be generated at this point, its declaration is appended to Decls.
function Build_TypeCode_Call
(Loc : Source_Ptr;