servo/components/script/dom/bindings/codegen/parser/inline.patch
Kagami Sascha Rosylight 1806b9ede2 Update WebIDL parser
2019-08-16 23:17:50 +09:00

12 lines
613 B
Diff

--- WebIDL.py
+++ WebIDL.py
@@ -1884,7 +1884,8 @@ class IDLInterface(IDLInterfaceOrNamespace):
identifier == "RunConstructorInCallerCompartment" or
identifier == "WantsEventListenerHooks" or
identifier == "Serializable" or
- identifier == "Abstract"):
+ identifier == "Abstract" or
+ identifier == "Inline"):
# Known extended attributes that do not take values
if not attr.noArguments():
raise WebIDLError("[%s] must take no arguments" % identifier,