aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/g-arrspl.ads
diff options
context:
space:
mode:
authorRobert Dewar <dewar@adacore.com>2006-10-31 19:14:24 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2006-10-31 19:14:24 +0100
commitba1cbfb946aef122c53787e3c6b5dd8ff32a539c (patch)
treead6eccb3bbe4d254d8f30c907aedfba6fc19c409 /gcc/ada/g-arrspl.ads
parentab31b1a60faffd5a6fbec3502ee62605a67fd91c (diff)
downloadgcc-ba1cbfb946aef122c53787e3c6b5dd8ff32a539c.zip
gcc-ba1cbfb946aef122c53787e3c6b5dd8ff32a539c.tar.gz
gcc-ba1cbfb946aef122c53787e3c6b5dd8ff32a539c.tar.bz2
debug.adb: Update flags documentation
2006-10-31 Robert Dewar <dewar@adacore.com> Cyrille Comar <comar@adacore.com> Ben Brosgol <brosgol@adacore.com> * debug.adb: Update flags documentation * gnat_ugn.texi: Add documentation for new -gnatwq switch Clean up documentation for several other warning switches Clarify how task stack size can be specified with various versions of Windows. Add note that -gnatVo includes ranges including loops Add documentation for -gnatL switch Add note on elaboration warning for initializing variables Add documentation for new -gnatwt warning switch Document new form of pragma Warnings (On|Off, string) Add comment on use of pragma Warnings to control warnings Add documentation for -gnatjnn switch Modify section on interfacing with C for VMS 64-bit. Add doc for -gnatVe/E Add documentation of new warning flags -gnatww/-gnatwW Add warnings about address clause overlays to list of warnings (Exception Handling Control): Document that the option --RTS must be used consistently for gcc and gnatbind. Clarify that inlining is not always possible Update documentation on pragma Unchecked_Union. * gnat_rm.texi: Add documentation for new extended version of pragma Obsolescent Add documentation for implementation defined attribute 'Stub_Type. Add note on use of Volatile in asm statements Add documentation on use of pragma Unreferenced in context clause Document new form of pragma Warnings (On|Off, pattern) Document pragma Wide_Character_Encoding Add note that pragma Restrictions (No_Elaboration_Code) is only fully enforced if code generation is active. Add section on pragma Suppress to document GNAT specific check Alignment_Check Clarify difference between No_Dispatching_Calls & No_Dispatch. Add documentation for pragma Restrictions (No_Elaboration_Code) * gnat-style.texi: Add comments on layout of subprogram local variables in the presence of nested subprograms. * ug_words: Resync. * elists.ads: Minor reformatting Node returns Node_Or_Entity_Id (doc change only) * xgnatugn.adb: Replace ACADEMICEDITION with GPLEDITION * g-arrspl.ads (Create): Update comments. * sem.ads: Add details on the handling of the scope stack. * usage.adb: Update documentation. * validsw.ads, validsw.adb: Add definition of Validity_Check_Components and implement -gnatVe/E * vms_data.ads: Add missing VMS qualifiers. * s-addope.ads: Add documentation on overflow and divide by zero From-SVN: r118328
Diffstat (limited to 'gcc/ada/g-arrspl.ads')
-rw-r--r--gcc/ada/g-arrspl.ads6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ada/g-arrspl.ads b/gcc/ada/g-arrspl.ads
index d35059c..07209bc 100644
--- a/gcc/ada/g-arrspl.ads
+++ b/gcc/ada/g-arrspl.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 2002-2005, Free Software Foundation, Inc. --
+-- Copyright (C) 2002-2006, 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- --
@@ -90,6 +90,10 @@ package GNAT.Array_Split is
-- is a sequence of Element along which to split the array. The source
-- array is sliced at separator boundaries. The separators are not
-- included as part of the resulting slices.
+ --
+ -- Note that if From is terminated by a separator an extra empty element
+ -- is added to the slice set. If From only contains a separator the slice
+ -- set contains two empty elements.
procedure Create
(S : out Slice_Set;