Skip to content

Commit

Permalink
Allow async as argument name
Browse files Browse the repository at this point in the history
Part of #42.
  • Loading branch information
foolip committed Aug 19, 2019
1 parent 2d94815 commit 1e874e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion widlparser/productions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,7 @@ def __repr__(self):


class ArgumentName(Production): # identifier | ArgumentNameKeyword
ArgumentNameKeywords = frozenset(['attribute', 'callback', 'const', 'creator', 'deleter', 'dictionary', 'enum',
ArgumentNameKeywords = frozenset(['async', 'attribute', 'callback', 'const', 'creator', 'deleter', 'dictionary', 'enum',
'getter', 'implements', 'inherit', 'interface', 'iterable', 'legacycaller',
'legacyiterable', 'maplike', 'namespace', 'partial', 'required', 'setlike',
'setter', 'static', 'stringifier', 'typedef', 'unrestricted'])
Expand Down

0 comments on commit 1e874e6

Please sign in to comment.