aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_eval.adb
diff options
context:
space:
mode:
authorYannick Moy <moy@adacore.com>2013-04-24 14:14:27 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2013-04-24 16:14:27 +0200
commit06b599fd62cccd693a395130dda53004f577714d (patch)
treef76313f71e189c416d9d38234de0200ea66161d3 /gcc/ada/sem_eval.adb
parent97c116dccd8c8839c3da8fc6b2c3664368dfa55b (diff)
downloadgcc-06b599fd62cccd693a395130dda53004f577714d.zip
gcc-06b599fd62cccd693a395130dda53004f577714d.tar.gz
gcc-06b599fd62cccd693a395130dda53004f577714d.tar.bz2
adabkend.adb, [...]: Everything with name 'Alfa' renamed in 'SPARK'.
2013-04-24 Yannick Moy <moy@adacore.com> * adabkend.adb, ali-util.adb, ali.adb, debug.adb, errout.adb, errout.ads, erroutc.adb, exp_ch3.adb, exp_ch4.adb, exp_ch6.adb, exp_ch7.adb, exp_dbug.adb, exp_util.adb, expander.adb, freeze.adb, gnat1drv.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads, opt.adb, opt.ads, restrict.adb, sem_aggr.adb, sem_attr.adb, sem_ch3.adb, sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_eval.adb, sem_prag.adb, sem_res.adb, sem_util.adb: Everything with name 'Alfa' renamed in 'SPARK'. Update comments. Renaming of units with name 'Alfa', renamed with 'SPARK' instead. * exp_alfa.adb: renamed exp_spark.adb. * exp_alfa.ads: renamed exp_spark.ads. * get_alfa.adb: renamed get_spark_xrefs.adb. * get_alfa.ads: renamed get_spark_xrefs.ads. * lib-xref-alfa.adb: renamed lib-xref-spark_specific.adb. * put_alfa.adb: renamed put_spark_xrefs.adb. * put_alfa.ads: renamed put_spark_xrefs.ads. * alfa.adb: renamed spark_xrefs.adb. * alfa.ads: renamed spark_xrefs.ads. * alfa_test.adb: renamed spark_xrefs_test.adb. From-SVN: r198234
Diffstat (limited to 'gcc/ada/sem_eval.adb')
-rw-r--r--gcc/ada/sem_eval.adb10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/ada/sem_eval.adb b/gcc/ada/sem_eval.adb
index 0f3d55d..94ce100 100644
--- a/gcc/ada/sem_eval.adb
+++ b/gcc/ada/sem_eval.adb
@@ -1353,13 +1353,13 @@ package body Sem_Eval is
if Ekind (E) = E_Enumeration_Literal then
return True;
- -- In Alfa mode, the value of deferred constants should be ignored
- -- outside the scope of their full view. This allows parameterized
- -- formal verification, in which a deferred constant value if not
- -- known from client units.
+ -- In SPARK mode, the value of deferred constants should be
+ -- ignored outside the scope of their full view. This allows
+ -- parameterized formal verification, in which a deferred constant
+ -- value if not known from client units.
elsif Ekind (E) = E_Constant
- and then not (Alfa_Mode
+ and then not (SPARK_Mode
and then Present (Full_View (E))
and then not In_Open_Scopes (Scope (E)))
then