Skip to content

Commit 598c405

Browse files
authored
Merge pull request #42615 from jsoref/spelling-utils-gyb
Spelling utils gyb
2 parents 0c2f307 + 7bbe79d commit 598c405

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

utils/gyb_syntax_support/AttributeNodes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
description='The label of the argument'),
163163
Child('Colon', kind='ColonToken',
164164
description='The colon separating the label and the value'),
165-
Child('Delcname', kind='DeclName',
165+
Child('Declname', kind='DeclName',
166166
description='The value for this argument'),
167167
Child('TrailingComma', kind='CommaToken',
168168
is_optional=True, description='''
@@ -236,7 +236,7 @@
236236
# objc-selector-piece -> identifier? ':'?
237237
Node('ObjCSelectorPiece', kind='Syntax',
238238
description='''
239-
A piece of an Objective-C selector. Either consisiting of just an
239+
A piece of an Objective-C selector. Either consisting of just an
240240
identifier for a nullary selector, an identifier and a colon for a
241241
labeled argument or just a colon for an unlabeled argument
242242
''',

utils/gyb_syntax_support/AvailabilityNodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
Node('VersionTuple', kind='Syntax',
8080
description='''
8181
A version number of the form major.minor.patch in which the minor
82-
and patch part may be ommited.
82+
and patch part may be omitted.
8383
''',
8484
children=[
8585
Child('MajorMinor', kind='Syntax',

utils/gyb_syntax_support/Classification.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def __init__(self, name, description):
3939
A string literal including multiline string literals.
4040
'''),
4141
SyntaxClassification('StringInterpolationAnchor', description='''
42-
The opening and closing paranthesis of string interpolation.
42+
The opening and closing parenthesis of string interpolation.
4343
'''),
4444
SyntaxClassification('PoundDirectiveKeyword', description='''
4545
A `#` keyword like `#warning`.

utils/gyb_syntax_support/ExprNodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@
601601
Child('RightParen', kind='RightParenToken'),
602602
]),
603603

604-
# postfix '#if' expession
604+
# postfix '#if' expression
605605
Node('PostfixIfConfigExpr', kind='Expr',
606606
children=[
607607
Child('Base', kind='Expr', is_optional=True),

utils/gyb_syntax_support/GenericNodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
element_name='GenericRequirement'),
1616

1717
# generic-requirement ->
18-
# (same-type-requrement|conformance-requirement) ','?
18+
# (same-type-requirement|conformance-requirement) ','?
1919
Node('GenericRequirement', kind='Syntax',
2020
traits=['WithTrailingComma'],
2121
children=[

utils/gyb_syntax_support/StmtNodes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@
197197
Child('Condition', kind='Syntax',
198198
node_choices=[
199199
Child('Expression', kind='Expr'),
200-
Child('Availablity', kind='AvailabilityCondition'),
201-
Child('Unavailablity', kind='UnavailabilityCondition'),
200+
Child('Availability', kind='AvailabilityCondition'),
201+
Child('Unavailability', kind='UnavailabilityCondition'),
202202
Child('MatchingPattern',
203203
kind='MatchingPatternCondition'),
204204
Child('OptionalBinding',

utils/gyb_syntax_support/TypeNodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
]),
183183

184184
# attributed-type -> type-specifier? attribute-list? type
185-
# type-specifiyer -> 'inout' | '__owned' | '__unowned'
185+
# type-specifier -> 'inout' | '__owned' | '__unowned'
186186
Node('AttributedType', kind='Type',
187187
children=[
188188
Child('Specifier', kind='Token',

0 commit comments

Comments
 (0)