Commit e08b38f5 by Vincent Celier Committed by Arnaud Charlet

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
parent 9de6e082
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
@c o @c o
@c G N A T C O D I N G S T Y L E o @c G N A T C O D I N G S T Y L E o
@c o @c o
@c Copyright (C) 1992-2005, AdaCore o @c Copyright (C) 1992-2007, AdaCore o
@c o @c o
@c GNAT is free software; you can redistribute it and/or modify it under 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 @c terms of the GNU General Public License as published by the Free Soft- o
...@@ -43,13 +43,13 @@ ...@@ -43,13 +43,13 @@
@titlefont{GNAT Coding Style:} @titlefont{GNAT Coding Style:}
@sp 1 @sp 1
@title @hfill A Guide for GNAT Developers @title @hfill A Guide for GNAT Developers
@subtitle GNAT, The GNU Ada 95 Compiler @subtitle GNAT, The GNU Ada Compiler
@versionsubtitle @versionsubtitle
@author Ada Core Technologies, Inc. @author Ada Core Technologies, Inc.
@page @page
@vskip 0pt plus 1filll @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 Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.1 under the terms of the GNU Free Documentation License, Version 1.1
...@@ -73,7 +73,7 @@ GNAT Coding Style@* ...@@ -73,7 +73,7 @@ GNAT Coding Style@*
A Guide for GNAT Developers A Guide for GNAT Developers
@sp 2 @sp 2
@noindent @noindent
GNAT, The GNU Ada 95 Compiler@* GNAT, The GNU Ada Compiler@*
@noindent @noindent
Permission is granted to copy, distribute and/or modify this document Permission is granted to copy, distribute and/or modify this document
...@@ -640,7 +640,7 @@ is a blank line before the @code{begin} keyword: ...@@ -640,7 +640,7 @@ is a blank line before the @code{begin} keyword:
@itemize @bullet @itemize @bullet
@item @item
Do not write the @code{in} for parameters, especially in functions: Do not write the @code{in} for parameters.
@smallexample @c adanocomment @smallexample @c adanocomment
function Length (S : String) return Integer; function Length (S : String) return Integer;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -116,6 +116,8 @@ gcc -c ^ GNAT COMPILE ...@@ -116,6 +116,8 @@ gcc -c ^ GNAT COMPILE
-gnatwB ^ /WARNINGS=NO_BAD_FIXED_VALUES -gnatwB ^ /WARNINGS=NO_BAD_FIXED_VALUES
-gnatwc ^ /WARNINGS=CONDITIONALS -gnatwc ^ /WARNINGS=CONDITIONALS
-gnatwC ^ /WARNINGS=NOCONDITIONALS -gnatwC ^ /WARNINGS=NOCONDITIONALS
-gnatw.c ^ /WARNINGS=MISSING_COMPONENT_CLAUSES
-gnatw.C ^ /WARNINGS=NOMISSING_COMPONENT_CLAUSES
-gnatwd ^ /WARNINGS=IMPLICIT_DEREFERENCE -gnatwd ^ /WARNINGS=IMPLICIT_DEREFERENCE
-gnatwD ^ /WARNINGS=NOIMPLICIT_DEREFERENCE -gnatwD ^ /WARNINGS=NOIMPLICIT_DEREFERENCE
-gnatwe ^ /WARNINGS=ERRORS -gnatwe ^ /WARNINGS=ERRORS
...@@ -155,6 +157,8 @@ gcc -c ^ GNAT COMPILE ...@@ -155,6 +157,8 @@ gcc -c ^ GNAT COMPILE
-gnatwW ^ /WARNINGS=NOLOWBOUND_ASSUMED -gnatwW ^ /WARNINGS=NOLOWBOUND_ASSUMED
-gnatwx ^ /WARNINGS=IMPORT_EXPORT_PRAGMAS -gnatwx ^ /WARNINGS=IMPORT_EXPORT_PRAGMAS
-gnatwX ^ /WARNINGS=NOIMPORT_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=ADA_2005_COMPATIBILITY
-gnatwY ^ /WARNINGS=NOADA_2005_COMPATIBILITY -gnatwY ^ /WARNINGS=NOADA_2005_COMPATIBILITY
-gnatwz ^ /WARNINGS=UNCHECKED_CONVERSIONS -gnatwz ^ /WARNINGS=UNCHECKED_CONVERSIONS
......
...@@ -477,7 +477,7 @@ procedure Xgnatugn is ...@@ -477,7 +477,7 @@ procedure Xgnatugn is
Non_Word_Character : constant Natural := Non_Word_Character : constant Natural :=
Index (Source, Index (Source,
Word_Characters or Word_Characters or
To_Set (" "), To_Set (" ."),
Outside); Outside);
begin begin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment