idl parser: Update IDL parser to accept interface mixin
interface mixin is a new IDL feature, and has a new grammar definition.
This CL updates IDL parser to accept it.
https://heycam.github.io/webidl/#idl-interface-mixins
Bug: 781257
Change-Id: Ibb771007c9147cf868995c80db8afc4ca43b9a74
Reviewed-on: https://chromium-review.googlesource.com/954763
Commit-Queue: Hitoshi Yoshida <[email protected]>
Reviewed-by: Kenichi Ishibashi <[email protected]>
Cr-Commit-Position: refs/heads/master@{#541753}
diff --git a/tools/idl_parser/idl_lexer.py b/tools/idl_parser/idl_lexer.py
index 60b8288..538fc51 100755
--- a/tools/idl_parser/idl_lexer.py
+++ b/tools/idl_parser/idl_lexer.py
@@ -79,6 +79,7 @@
'legacycaller' : 'LEGACYCALLER',
'long' : 'LONG',
'maplike': 'MAPLIKE',
+ 'mixin': 'MIXIN',
'namespace' : 'NAMESPACE',
'Nan' : 'NAN',
'null' : 'NULL',