diff options
author | Gary Dismukes <dismukes@adacore.com> | 2020-05-19 14:30:05 -0400 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-07-08 10:55:51 -0400 |
commit | 64b15a17a15e1cf06894d4825dba25b94dc365ff (patch) | |
tree | bb051217444c26110e1dbbd6097b66ad9a6cc867 | |
parent | ff49b8053d16b0a565a02400ac0db81e5fd8f2cd (diff) | |
download | gcc-64b15a17a15e1cf06894d4825dba25b94dc365ff.zip gcc-64b15a17a15e1cf06894d4825dba25b94dc365ff.tar.gz gcc-64b15a17a15e1cf06894d4825dba25b94dc365ff.tar.bz2 |
[Ada] Typo corrections, plus minor reformatting in comments
gcc/ada/
* par-ch4.adb (P_Iterated_Component_Association): Typo
corrections.
-rw-r--r-- | gcc/ada/par-ch4.adb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/par-ch4.adb b/gcc/ada/par-ch4.adb index e79abd1..4e48a49 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. |