mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Update the WebIDL parser
This commit is contained in:
parent
7ac2464302
commit
60f0f8eaa5
4 changed files with 31 additions and 46 deletions
|
@ -1,7 +1,7 @@
|
|||
diff --git a/components/script/dom/bindings/codegen/parser/WebIDL.py b/components/script/dom/bindings/codegen/parser/WebIDL.py
|
||||
index da32340..81c52b7 100644
|
||||
--- a/components/script/dom/bindings/codegen/parser/WebIDL.py
|
||||
+++ b/components/script/dom/bindings/codegen/parser/WebIDL.py
|
||||
--- WebIDL.py
|
||||
+++ WebIDL.py
|
||||
@@ -2170,7 +2170,7 @@ class IDLUnresolvedType(IDLType):
|
||||
return typedefType.complete(scope)
|
||||
elif obj.isCallback() and not obj.isInterface():
|
||||
|
@ -19,4 +19,4 @@ index da32340..81c52b7 100644
|
|||
+ type = IDLCallbackType(obj.location, obj)
|
||||
else:
|
||||
type = IDLWrapperType(self.getLocation(p, 1), p[1])
|
||||
p[0] = self.handleModifiers(type, p[2])
|
||||
p[0] = self.handleModifiers(type, p[2])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue