aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/exp_prag.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/exp_prag.adb')
-rw-r--r--gcc/ada/exp_prag.adb20
1 files changed, 9 insertions, 11 deletions
diff --git a/gcc/ada/exp_prag.adb b/gcc/ada/exp_prag.adb
index 855c372..54ea041 100644
--- a/gcc/ada/exp_prag.adb
+++ b/gcc/ada/exp_prag.adb
@@ -6,9 +6,9 @@
-- --
-- B o d y --
-- --
--- $Revision: 1.53 $
+-- $Revision$
-- --
--- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2002 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- --
@@ -59,7 +59,6 @@ package body Exp_Prag is
function Arg1 (N : Node_Id) return Node_Id;
function Arg2 (N : Node_Id) return Node_Id;
- function Arg3 (N : Node_Id) return Node_Id;
-- Obtain specified Pragma_Argument_Association
procedure Expand_Pragma_Abort_Defer (N : Node_Id);
@@ -69,25 +68,24 @@ package body Exp_Prag is
procedure Expand_Pragma_Inspection_Point (N : Node_Id);
procedure Expand_Pragma_Interrupt_Priority (N : Node_Id);
- --------------
- -- Arg1,2,3 --
- --------------
+ ----------
+ -- Arg1 --
+ ----------
function Arg1 (N : Node_Id) return Node_Id is
begin
return First (Pragma_Argument_Associations (N));
end Arg1;
+ ----------
+ -- Arg2 --
+ ----------
+
function Arg2 (N : Node_Id) return Node_Id is
begin
return Next (Arg1 (N));
end Arg2;
- function Arg3 (N : Node_Id) return Node_Id is
- begin
- return Next (Arg2 (N));
- end Arg3;
-
---------------------
-- Expand_N_Pragma --
---------------------