From 64b15a17a15e1cf06894d4825dba25b94dc365ff Mon Sep 17 00:00:00 2001 From: Gary Dismukes Date: Tue, 19 May 2020 14:30:05 -0400 Subject: [PATCH] [Ada] Typo corrections, plus minor reformatting in comments gcc/ada/ * par-ch4.adb (P_Iterated_Component_Association): Typo corrections. --- 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. -- 2.11.4.GIT