diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2015-10-16 23:21:29 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2015-12-15 23:06:35 +0100 |
commit | 06947965b1635c4f5ff2aebcf5dfef35c6e95f23 (patch) | |
tree | 0872856caab3d7528875d7a61f87d5bf6277482a /components/script/dom/bindings/codegen/parser/module.patch | |
parent | 432087c0ea6a5a419273b448eec62eb7549ba242 (diff) | |
download | servo-06947965b1635c4f5ff2aebcf5dfef35c6e95f23.tar.gz servo-06947965b1635c4f5ff2aebcf5dfef35c6e95f23.zip |
Remove all our local patches to the WebIDL parser
All the tweaks we need can just be made through Configuration.py, and
[Abstract] is being submitted upstream by Ms2ger.
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/module.patch')
-rw-r--r-- | components/script/dom/bindings/codegen/parser/module.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/components/script/dom/bindings/codegen/parser/module.patch b/components/script/dom/bindings/codegen/parser/module.patch deleted file mode 100644 index aaec7c61b7e..00000000000 --- a/components/script/dom/bindings/codegen/parser/module.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- WebIDL.py -+++ WebIDL.py -@@ -1506,6 +1506,9 @@ class IDLDictionary(IDLObjectWithScope): - self.identifier.name, - [member.location] + locations) - -+ def module(self): -+ return self.location.filename().split('/')[-1].split('.webidl')[0] + 'Binding' -+ - def addExtendedAttributes(self, attrs): - assert len(attrs) == 0 - -@@ -3574,6 +3577,9 @@ class IDLCallbackType(IDLType, IDLObjectWithScope): - self._treatNonCallableAsNull = False - self._treatNonObjectAsNull = False - -+ def module(self): -+ return self.location.filename().split('/')[-1].split('.webidl')[0] + 'Binding' -+ - def isCallback(self): - return True - |