aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/par.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2014-02-19 12:12:05 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2014-02-19 12:12:05 +0100
commit0b7f0f0e87a381ab6aaa84b512bf8165115c5874 (patch)
tree4b251dd34ac027c2b9fc4f1c8b26a9994b34fbe3 /gcc/ada/par.adb
parente7cff5af6f0cde046419d93873b92a9290076ef9 (diff)
downloadgcc-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/par.adb')
-rw-r--r--gcc/ada/par.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/par.adb b/gcc/ada/par.adb
index 7de8458..fc5e6ad 100644
--- a/gcc/ada/par.adb
+++ b/gcc/ada/par.adb
@@ -467,7 +467,7 @@ function Par (Configuration_Pragmas : Boolean) return List_Id is
-- expected column of the end assuming normal Ada indentation usage. If
-- the RM_Column_Check mode is set, this value is used for generating
-- error messages about indentation. Otherwise it is used only to
- -- control heuristic error recovery actions.
+ -- control heuristic error recovery actions. This value is zero origin.
Labl : Node_Id;
-- This field is used to provide the name of the construct being parsed