diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2013-01-29 15:17:44 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2013-01-29 15:17:44 +0100 |
commit | 54bb89caeab2b2ce71f935e2f290fa1402942529 (patch) | |
tree | 850467042bd51bffbc744a59d1dd82611e2d195f /gcc/ada/stylesw.ads | |
parent | 2808600b9f513ee8d428823cd1726a0d5fed004c (diff) | |
download | gcc-54bb89caeab2b2ce71f935e2f290fa1402942529.zip gcc-54bb89caeab2b2ce71f935e2f290fa1402942529.tar.gz gcc-54bb89caeab2b2ce71f935e2f290fa1402942529.tar.bz2 |
[multiple changes]
2013-01-29 Robert Dewar <dewar@adacore.com>
* a-calend-vms.adb: Minor comment fix.
2013-01-29 Robert Dewar <dewar@adacore.com>
* mlib-utl.adb, gnatlink.adb: Avoid reference to ASCII.Back_Slash
because of casing issues.
* sem_util.ads: Minor comment fix.
* style.adb (Check_Identifier): Set proper casing for entities
in ASCII.
* styleg.adb: Minor comment improvement.
* stylesw.ads (Style_Check_Standard): Fix bad comments.
2013-01-29 Hristian Kirtchev <kirtchev@adacore.com>
* sem_prag.adb: Add the grammar for pragmas Abstract_State and Global.
(Analyze_Pragma): Push the scope of the related subprogram and install
its formals once before starting the analysis of the [moded] global
list.
2013-01-29 Pascal Obry <obry@adacore.com>
* prj-proc.adb (Process_Expression_Variable_Decl): Always handle
relative paths in Project_Path as relative to the aggregate
project location. Note that this was what was documented.
2013-01-29 Vincent Celier <celier@adacore.com>
* gnatcmd.adb: For "gnat stub -P ...", do not check the naming
scheme for Ada, when Ada is not a language for the project.
From-SVN: r195539
Diffstat (limited to 'gcc/ada/stylesw.ads')
-rw-r--r-- | gcc/ada/stylesw.ads | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ada/stylesw.ads b/gcc/ada/stylesw.ads index 26fa480..6de2064 100644 --- a/gcc/ada/stylesw.ads +++ b/gcc/ada/stylesw.ads @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 1992-2012, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2013, 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- -- @@ -149,7 +149,7 @@ package Stylesw is -- is not allowed. Style_Check_Indentation : Column_Number range 0 .. 9 := 0; - -- This can be set non-zero by using the -gnatyn (n a digit) switch. If + -- This can be set non-zero by using the -gnaty? (? a digit) switch. If -- it is non-zero it activates indentation checking with the indicated -- indentation value. A value of zero turns off checking. The requirement -- is that any new statement, line comment, declaration or keyword such @@ -217,8 +217,9 @@ package Stylesw is Style_Check_Standard : Boolean := False; -- This can be set True by using the -gnatyn switch. If it is True, then - -- any references to names in Standard have to be in mixed case mode (e.g. - -- Integer, Boolean). + -- any references to names in Standard have to be cased in a manner that + -- is consistent with the Ada RM (usually Mixed case, as in Long_Integer) + -- but there are some exceptions (e.g. NUL, ASCII). Style_Check_Tokens : Boolean := False; -- This can be set True by using the -gnatyt switch. If it is True, then |