aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_case.adb
diff options
context:
space:
mode:
authorGary Dismukes <dismukes@adacore.com>2016-10-13 12:24:21 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2016-10-13 14:24:21 +0200
commitc9d2e84b72ff8032b8407bb27e9818f01ba8b55d (patch)
treea11d98f66dba227f2c9ca059635970615b0eb260 /gcc/ada/sem_case.adb
parent2eef1fc11358cb848d027f43956e8166ba613b5d (diff)
downloadgcc-c9d2e84b72ff8032b8407bb27e9818f01ba8b55d.zip
gcc-c9d2e84b72ff8032b8407bb27e9818f01ba8b55d.tar.gz
gcc-c9d2e84b72ff8032b8407bb27e9818f01ba8b55d.tar.bz2
exp_ch7.adb, [...]: Minor typo fixes and reformatting.
2016-10-13 Gary Dismukes <dismukes@adacore.com> * exp_ch7.adb, einfo.ads, sem_prag.adb, sem_prag.ads, sem.ads, sem_attr.adb, sem_case.adb, sem_ch13.ads: Minor typo fixes and reformatting. From-SVN: r241109
Diffstat (limited to 'gcc/ada/sem_case.adb')
-rw-r--r--gcc/ada/sem_case.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/sem_case.adb b/gcc/ada/sem_case.adb
index 039a444..f836853 100644
--- a/gcc/ada/sem_case.adb
+++ b/gcc/ada/sem_case.adb
@@ -133,7 +133,7 @@ package body Sem_Case is
-- found an illegal intersection.
procedure Check_Duplicates;
- -- Check for duplicate choices, and call Dup_Choice is there are any
+ -- Check for duplicate choices, and call Dup_Choice if there are any
-- such errors. Note that predicates are irrelevant here.
procedure Dup_Choice (Lo, Hi : Uint; C : Node_Id);
@@ -811,7 +811,7 @@ package body Sem_Case is
-- Then check for overlaps
-- If the subtype has a static predicate, the predicate defines subsets
- -- of legal values and requires finer grained analysis.
+ -- of legal values and requires finer-grained analysis.
-- Note that in GNAT the predicate is considered static if the predicate
-- expression is static, independently of whether the aspect mentions