aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/styleg.ads
diff options
context:
space:
mode:
authorRobert Dewar <dewar@adacore.com>2012-10-02 08:48:27 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2012-10-02 10:48:27 +0200
commit9b16cb57dedec3d7fb690ad7770f2ca9ca85f586 (patch)
tree427db6631f4424c39ebbfe7c953d008cfee86519 /gcc/ada/styleg.ads
parentcb42ba5d667142c60c27fadd8efba35e0e18e797 (diff)
downloadgcc-9b16cb57dedec3d7fb690ad7770f2ca9ca85f586.zip
gcc-9b16cb57dedec3d7fb690ad7770f2ca9ca85f586.tar.gz
gcc-9b16cb57dedec3d7fb690ad7770f2ca9ca85f586.tar.bz2
par_sco.adb, [...]: Change name Conditional_Expression to If_Expression.
2012-10-02 Robert Dewar <dewar@adacore.com> * par_sco.adb, sem_ch3.adb, layout.adb, exp_ch7.adb, exp_imgv.adb, exp_util.adb, exp_util.ads, exp_attr.adb, sinfo.adb, sinfo.ads, exp_ch9.adb, style.ads, scos.ads, debug.adb, einfo.ads, scng.adb, checks.adb, checks.ads, sem.adb, par-ch4.adb, sem_util.adb, types.h, sem_res.adb, expander.adb, scans.ads, par.adb, exp_ch2.adb, gnat1drv.adb, stylesw.ads, sem_elab.adb, exp_ch4.adb, exp_ch4.ads, exp_ch6.adb, sem_ch4.adb, sem_ch4.ads, sem_ch6.adb, opt.ads, sem_eval.adb, sem_eval.ads, exp_intr.adb, sprint.adb, sprint.ads, styleg.ads: Change name Conditional_Expression to If_Expression. * gcc-interface/trans.c (gnat_to_gnu): Replace N_Conditional_Expression by N_If_Expression. * gcc-interface/Make-lang.in: Update dependencies. From-SVN: r191967
Diffstat (limited to 'gcc/ada/styleg.ads')
-rw-r--r--gcc/ada/styleg.ads4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/styleg.ads b/gcc/ada/styleg.ads
index 7aabac4..06e5534 100644
--- a/gcc/ada/styleg.ads
+++ b/gcc/ada/styleg.ads
@@ -151,8 +151,8 @@ package Styleg is
-- Called after scanning a vertical bar to check spacing
procedure Check_Xtra_Parens (Loc : Source_Ptr);
- -- Called after scanning a conditional expression that has at least one
- -- level of parentheses around the entire expression.
+ -- Called after scanning an if, case, or quantified expression that has at
+ -- least one level of parentheses around the entire expression.
function Mode_In_Check return Boolean;
pragma Inline (Mode_In_Check);