Syntax: Add support for 'reasync' keyword

This commit is contained in:
Slava Pestov
2021-03-29 15:44:48 -04:00
parent 71cd85c42b
commit ce23d97ed4
2 changed files with 3 additions and 3 deletions

View File

@@ -76,9 +76,9 @@ DECL_NODES = [
Node('FunctionSignature', kind='Syntax',
children=[
Child('Input', kind='ParameterClause'),
Child('AsyncKeyword', kind='IdentifierToken',
Child('AsyncOrReasyncKeyword', kind='IdentifierToken',
classification='Keyword',
text_choices=['async'], is_optional=True),
text_choices=['async', 'reasync'], is_optional=True),
Child('ThrowsOrRethrowsKeyword', kind='Token',
is_optional=True,
token_choices=[