[gcc(refs/users/aldyh/heads/ranger-staging)] [Ada] Typo corrections, plus minor reformatting in comments
Aldy Hernandez
aldyh@gcc.gnu.org
Wed Aug 19 17:16:05 GMT 2020
https://gcc.gnu.org/g:64b15a17a15e1cf06894d4825dba25b94dc365ff
commit 64b15a17a15e1cf06894d4825dba25b94dc365ff
Author: Gary Dismukes <dismukes@adacore.com>
Date: Tue May 19 14:30:05 2020 -0400
[Ada] Typo corrections, plus minor reformatting in comments
gcc/ada/
* par-ch4.adb (P_Iterated_Component_Association): Typo
corrections.
Diff:
---
gcc/ada/par-ch4.adb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gcc/ada/par-ch4.adb b/gcc/ada/par-ch4.adb
index e79abd1a8cf..4e48a492b5e 100644
--- a/gcc/ada/par-ch4.adb
+++ b/gcc/ada/par-ch4.adb
@@ -3416,11 +3416,11 @@ package body Ch4 is
Save_Scan_State (State);
-- A lookahead is necessary to differentiate between the
- -- Ada2012 form with a choice list, and the Ada2020 element
+ -- Ada 2012 form with a choice list, and the Ada 202x element
-- iterator form, recognized by the presence of "OF". Other
- -- disambiguation requires context and is done during semantc
+ -- disambiguation requires context and is done during semantic
-- analysis. Note that "for X in E" is syntactically ambiguous:
- -- if E is a subypte indication this is a loop parameter spec,
+ -- if E is a subtype indication this is a loop parameter spec,
-- while if E a name it is an iterator_specification, and the
-- disambiguation takes place during semantic analysis.
More information about the Gcc-cvs
mailing list