From d90fa7700820cf201aa810bed3efa2cebbf3a181 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Sun, 17 Apr 2022 15:17:38 -0400 Subject: [PATCH 1/8] spelling: availability Signed-off-by: Josh Soref --- utils/gyb_syntax_support/StmtNodes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/gyb_syntax_support/StmtNodes.py b/utils/gyb_syntax_support/StmtNodes.py index 349e664e42dea..71beec3b5c6c8 100644 --- a/utils/gyb_syntax_support/StmtNodes.py +++ b/utils/gyb_syntax_support/StmtNodes.py @@ -197,8 +197,8 @@ Child('Condition', kind='Syntax', node_choices=[ Child('Expression', kind='Expr'), - Child('Availablity', kind='AvailabilityCondition'), - Child('Unavailablity', kind='UnavailabilityCondition'), + Child('Availability', kind='AvailabilityCondition'), + Child('Unavailability', kind='UnavailabilityCondition'), Child('MatchingPattern', kind='MatchingPatternCondition'), Child('OptionalBinding', From 9caa52a7ac77cf47db8a8e511b410224b4ec4c7c Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Sun, 17 Apr 2022 15:21:50 -0400 Subject: [PATCH 2/8] spelling: consisting Signed-off-by: Josh Soref --- utils/gyb_syntax_support/AttributeNodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/gyb_syntax_support/AttributeNodes.py b/utils/gyb_syntax_support/AttributeNodes.py index 2f91125d76f7e..d9d489ac0beda 100644 --- a/utils/gyb_syntax_support/AttributeNodes.py +++ b/utils/gyb_syntax_support/AttributeNodes.py @@ -236,7 +236,7 @@ # objc-selector-piece -> identifier? ':'? Node('ObjCSelectorPiece', kind='Syntax', description=''' - A piece of an Objective-C selector. Either consisiting of just an + A piece of an Objective-C selector. Either consisting of just an identifier for a nullary selector, an identifier and a colon for a labeled argument or just a colon for an unlabeled argument ''', From 354ee83d8e7ff88a8bf5141ffe72fb8800224839 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Sun, 17 Apr 2022 15:23:58 -0400 Subject: [PATCH 3/8] spelling: declname Signed-off-by: Josh Soref --- utils/gyb_syntax_support/AttributeNodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/gyb_syntax_support/AttributeNodes.py b/utils/gyb_syntax_support/AttributeNodes.py index d9d489ac0beda..9e76cee916099 100644 --- a/utils/gyb_syntax_support/AttributeNodes.py +++ b/utils/gyb_syntax_support/AttributeNodes.py @@ -162,7 +162,7 @@ description='The label of the argument'), Child('Colon', kind='ColonToken', description='The colon separating the label and the value'), - Child('Delcname', kind='DeclName', + Child('Declname', kind='DeclName', description='The value for this argument'), Child('TrailingComma', kind='CommaToken', is_optional=True, description=''' From 35a2f8bf0db0f878385403462e5e8edd3f09ac0d Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Sun, 17 Apr 2022 15:29:54 -0400 Subject: [PATCH 4/8] spelling: expression Signed-off-by: Josh Soref --- utils/gyb_syntax_support/ExprNodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/gyb_syntax_support/ExprNodes.py b/utils/gyb_syntax_support/ExprNodes.py index 0202c538b8dd4..c8ff4d9801543 100644 --- a/utils/gyb_syntax_support/ExprNodes.py +++ b/utils/gyb_syntax_support/ExprNodes.py @@ -601,7 +601,7 @@ Child('RightParen', kind='RightParenToken'), ]), - # postfix '#if' expession + # postfix '#if' expression Node('PostfixIfConfigExpr', kind='Expr', children=[ Child('Base', kind='Expr', is_optional=True), From b7e90f37c138e3bdc30b4858bef4ca7496658bdd Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Sun, 17 Apr 2022 15:39:51 -0400 Subject: [PATCH 5/8] spelling: omitted Signed-off-by: Josh Soref --- utils/gyb_syntax_support/AvailabilityNodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/gyb_syntax_support/AvailabilityNodes.py b/utils/gyb_syntax_support/AvailabilityNodes.py index 7c1883112885f..2e462366a3249 100644 --- a/utils/gyb_syntax_support/AvailabilityNodes.py +++ b/utils/gyb_syntax_support/AvailabilityNodes.py @@ -79,7 +79,7 @@ Node('VersionTuple', kind='Syntax', description=''' A version number of the form major.minor.patch in which the minor - and patch part may be ommited. + and patch part may be omitted. ''', children=[ Child('MajorMinor', kind='Syntax', From 65822534b438c9ba427ac17a85617dd51b14940b Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Sun, 17 Apr 2022 15:41:41 -0400 Subject: [PATCH 6/8] spelling: parenthesis Signed-off-by: Josh Soref --- utils/gyb_syntax_support/Classification.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/gyb_syntax_support/Classification.py b/utils/gyb_syntax_support/Classification.py index fa11b05a35f2c..a2c0a66ec70ac 100644 --- a/utils/gyb_syntax_support/Classification.py +++ b/utils/gyb_syntax_support/Classification.py @@ -39,7 +39,7 @@ def __init__(self, name, description): A string literal including multiline string literals. '''), SyntaxClassification('StringInterpolationAnchor', description=''' - The opening and closing paranthesis of string interpolation. + The opening and closing parenthesis of string interpolation. '''), SyntaxClassification('PoundDirectiveKeyword', description=''' A `#` keyword like `#warning`. From 8d67faf037f17bd812ba2ae53a84b84b9b197d57 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Sun, 17 Apr 2022 15:46:13 -0400 Subject: [PATCH 7/8] spelling: requirement Signed-off-by: Josh Soref --- utils/gyb_syntax_support/GenericNodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/gyb_syntax_support/GenericNodes.py b/utils/gyb_syntax_support/GenericNodes.py index 67ed4faba4ea5..a218f69d0096a 100644 --- a/utils/gyb_syntax_support/GenericNodes.py +++ b/utils/gyb_syntax_support/GenericNodes.py @@ -15,7 +15,7 @@ element_name='GenericRequirement'), # generic-requirement -> - # (same-type-requrement|conformance-requirement) ','? + # (same-type-requirement|conformance-requirement) ','? Node('GenericRequirement', kind='Syntax', traits=['WithTrailingComma'], children=[ From 7bbe79dce3bbf48e3681d045e7d3c20b2296068d Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Sun, 17 Apr 2022 15:49:52 -0400 Subject: [PATCH 8/8] spelling: specifier Signed-off-by: Josh Soref --- utils/gyb_syntax_support/TypeNodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/gyb_syntax_support/TypeNodes.py b/utils/gyb_syntax_support/TypeNodes.py index 748a47bcf2ebb..1851850d37fc0 100644 --- a/utils/gyb_syntax_support/TypeNodes.py +++ b/utils/gyb_syntax_support/TypeNodes.py @@ -182,7 +182,7 @@ ]), # attributed-type -> type-specifier? attribute-list? type - # type-specifiyer -> 'inout' | '__owned' | '__unowned' + # type-specifier -> 'inout' | '__owned' | '__unowned' Node('AttributedType', kind='Type', children=[ Child('Specifier', kind='Token',