diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2014-02-19 12:12:05 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2014-02-19 12:12:05 +0100 |
commit | 0b7f0f0e87a381ab6aaa84b512bf8165115c5874 (patch) | |
tree | 4b251dd34ac027c2b9fc4f1c8b26a9994b34fbe3 /gcc/ada/styleg.ads | |
parent | e7cff5af6f0cde046419d93873b92a9290076ef9 (diff) | |
download | gcc-0b7f0f0e87a381ab6aaa84b512bf8165115c5874.zip gcc-0b7f0f0e87a381ab6aaa84b512bf8165115c5874.tar.gz gcc-0b7f0f0e87a381ab6aaa84b512bf8165115c5874.tar.bz2 |
[multiple changes]
2014-02-19 Robert Dewar <dewar@adacore.com>
* par-ch6.adb (P_Return): For extended return, end column lines
up with RETURN.
* par.adb: Minor documentation clarification.
2014-02-19 Yannick Moy <moy@adacore.com>
* sem_prag.adb (Check_Loop_Pragma_Placement): Add check
that Loop_Invariant and Loop_Variant appear consecutively.
* gnat_rm.texi Update documentation of Loop_Invariant and
Loop_Variant pragmas.
2014-02-19 Robert Dewar <dewar@adacore.com>
* debug.adb: Document -gnatd.X.
* par-ch5.adb (P_If_Statement): Always check THEN, even if not
first token
(Check_Then_Column): Ditto.
* styleg.adb (Check_Then): Allow THEN on line after IF.
(Check_Then): Check THEN placement under control of -gnatd.X
* styleg.ads (Check_Then): Now called even if THEN is not first
token on line.
* stylesw.ads (Style_Check_If_Then_Layout): Document new
relaxed rules.
* gnat_ugn.texi: For -gnatyi, THEN can now be on line after IF.
2014-02-19 Robert Dewar <dewar@adacore.com>
* a-cfhama.adb, a-cfhase.adb, a-cforse.adb, a-cofove.adb, a-ngcefu.adb,
a-teioed.adb, a-wtedit.adb, a-ztedit.adb, exp_ch5.adb, inline.adb,
prj-pp.adb, prj-tree.adb, sem_ch12.adb, sem_ch8.adb,
vms_conv.adb: Fix bad layout of IF statements
From-SVN: r207893
Diffstat (limited to 'gcc/ada/styleg.ads')
-rw-r--r-- | gcc/ada/styleg.ads | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/ada/styleg.ads b/gcc/ada/styleg.ads index 06e5534..2369281 100644 --- a/gcc/ada/styleg.ads +++ b/gcc/ada/styleg.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- -- @@ -134,8 +134,7 @@ package Styleg is procedure Check_Then (If_Loc : Source_Ptr); -- Called to check that THEN and IF keywords are appropriately positioned. -- The parameters show the first characters of the two keywords. This - -- procedure is called only if THEN appears at the start of a line with - -- Token_Ptr pointing to the THEN keyword. + -- procedure is called with Token_Ptr pointing to the THEN keyword. procedure Check_Separate_Stmt_Lines; pragma Inline (Check_Separate_Stmt_Lines); |