Skip to content

Commit

Permalink
Merge pull request #43 from foolip/async-argument-name
Browse files Browse the repository at this point in the history
Allow `async` as argument name, per whatwg/webidl#769
  • Loading branch information
plinss authored Aug 20, 2019
2 parents 2d94815 + 1e874e6 commit 9faf8f8
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 9faf8f8

Please sign in to comment.