mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-25 12:41:01 +08:00
xgnatugn.adb: Allow dots to be used in ug_words (-gnatw.c and -gnatw.C)
2007-04-20 Vincent Celier <celier@adacore.com> Robert Dewar <dewar@adacore.com> * xgnatugn.adb: Allow dots to be used in ug_words (-gnatw.c and -gnatw.C) * gnat_ugn.texi: Fix ordering of -g switch for gnatmake Document gnatbind switch -a (case Constructions): Document that variables declarations are allowed for previously declared variables. Fix external lib project example -gnatg: Indicate new VMS qualifier /GNAT_INTERNAL Indicate that "#if not X or Y then" is not allowed in input files to gnatprep. Document gnatw.x and gnatw.X warning flags Mention -Winline switch to activate warnings when back-end inlining is ineffective. Add gnatcheck rule descriptions Describe how to use the GNAT driver to call a tool on a closure. Describe how to run project-wide checks or metrics. Document gnatbind's -R option Updated to account for Ada 2005 support * gnat_rm.texi (Case Construction): Allow variable declarations for previously declared variables. (Representation Clauses and Pragmas): Lift restriction on alignment clauses for record types. (Ada.Characters.*): Fix typo in reference to A.3.3(27). Document No_Exception_Propagation restriction Document No_Body pragma Updated to account for Ada 2005 support; corrected some typos (Implementation Defined Pragmas): Document pragma Universal_Aliasing. * gnat-style.texi: Make it clear that we never use mode IN for procedures or functions * ug_words: Add entries for -gnatw.x and -gnatw.X Add entries for -gnatw.c/.C From-SVN: r125475
This commit is contained in:
parent
9de6e08232
commit
e08b38f555
@ -7,7 +7,7 @@
|
||||
@c o
|
||||
@c G N A T C O D I N G S T Y L E o
|
||||
@c o
|
||||
@c Copyright (C) 1992-2005, AdaCore o
|
||||
@c Copyright (C) 1992-2007, AdaCore o
|
||||
@c o
|
||||
@c GNAT is free software; you can redistribute it and/or modify it under o
|
||||
@c terms of the GNU General Public License as published by the Free Soft- o
|
||||
@ -43,13 +43,13 @@
|
||||
@titlefont{GNAT Coding Style:}
|
||||
@sp 1
|
||||
@title @hfill A Guide for GNAT Developers
|
||||
@subtitle GNAT, The GNU Ada 95 Compiler
|
||||
@subtitle GNAT, The GNU Ada Compiler
|
||||
@versionsubtitle
|
||||
@author Ada Core Technologies, Inc.
|
||||
@page
|
||||
@vskip 0pt plus 1filll
|
||||
|
||||
Copyright @copyright{} 1995-2005, Free Software Foundation
|
||||
Copyright @copyright{} 1995-2007, Free Software Foundation
|
||||
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.1
|
||||
@ -73,7 +73,7 @@ GNAT Coding Style@*
|
||||
A Guide for GNAT Developers
|
||||
@sp 2
|
||||
@noindent
|
||||
GNAT, The GNU Ada 95 Compiler@*
|
||||
GNAT, The GNU Ada Compiler@*
|
||||
|
||||
@noindent
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
@ -640,7 +640,7 @@ is a blank line before the @code{begin} keyword:
|
||||
@itemize @bullet
|
||||
|
||||
@item
|
||||
Do not write the @code{in} for parameters, especially in functions:
|
||||
Do not write the @code{in} for parameters.
|
||||
|
||||
@smallexample @c adanocomment
|
||||
function Length (S : String) return Integer;
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -116,6 +116,8 @@ gcc -c ^ GNAT COMPILE
|
||||
-gnatwB ^ /WARNINGS=NO_BAD_FIXED_VALUES
|
||||
-gnatwc ^ /WARNINGS=CONDITIONALS
|
||||
-gnatwC ^ /WARNINGS=NOCONDITIONALS
|
||||
-gnatw.c ^ /WARNINGS=MISSING_COMPONENT_CLAUSES
|
||||
-gnatw.C ^ /WARNINGS=NOMISSING_COMPONENT_CLAUSES
|
||||
-gnatwd ^ /WARNINGS=IMPLICIT_DEREFERENCE
|
||||
-gnatwD ^ /WARNINGS=NOIMPLICIT_DEREFERENCE
|
||||
-gnatwe ^ /WARNINGS=ERRORS
|
||||
@ -155,6 +157,8 @@ gcc -c ^ GNAT COMPILE
|
||||
-gnatwW ^ /WARNINGS=NOLOWBOUND_ASSUMED
|
||||
-gnatwx ^ /WARNINGS=IMPORT_EXPORT_PRAGMAS
|
||||
-gnatwX ^ /WARNINGS=NOIMPORT_EXPORT_PRAGMAS
|
||||
-gnatw.x ^ /WARNINGS=LOCAL_RAISE_HANDLING
|
||||
-gnatw.X ^ /WARNINGS=NOLOCAL_RAISE_HANDLING
|
||||
-gnatwy ^ /WARNINGS=ADA_2005_COMPATIBILITY
|
||||
-gnatwY ^ /WARNINGS=NOADA_2005_COMPATIBILITY
|
||||
-gnatwz ^ /WARNINGS=UNCHECKED_CONVERSIONS
|
||||
|
@ -477,7 +477,7 @@ procedure Xgnatugn is
|
||||
Non_Word_Character : constant Natural :=
|
||||
Index (Source,
|
||||
Word_Characters or
|
||||
To_Set (" "),
|
||||
To_Set (" ."),
|
||||
Outside);
|
||||
|
||||
begin
|
||||
|
Loading…
x
Reference in New Issue
Block a user