From: Gary Dismukes Date: Tue, 19 May 2020 18:30:05 +0000 (-0400) Subject: [Ada] Typo corrections, plus minor reformatting in comments X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64b15a17a15e1cf06894d4825dba25b94dc365ff;p=gcc.git [Ada] Typo corrections, plus minor reformatting in comments gcc/ada/ * par-ch4.adb (P_Iterated_Component_Association): Typo corrections. --- 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.