aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem.adb
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/sem.adb
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/sem.adb')
-rw-r--r--gcc/ada/sem.adb6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/sem.adb b/gcc/ada/sem.adb
index bbd6425..6aafad8 100644
--- a/gcc/ada/sem.adb
+++ b/gcc/ada/sem.adb
@@ -168,9 +168,6 @@ package body Sem is
when N_Component_Declaration =>
Analyze_Component_Declaration (N);
- when N_Conditional_Expression =>
- Analyze_Conditional_Expression (N);
-
when N_Conditional_Entry_Call =>
Analyze_Conditional_Entry_Call (N);
@@ -279,6 +276,9 @@ package body Sem is
when N_Identifier =>
Analyze_Identifier (N);
+ when N_If_Expression =>
+ Analyze_If_Expression (N);
+
when N_If_Statement =>
Analyze_If_Statement (N);