diff options
author | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-07-12 14:02:33 -0700 |
---|---|---|
committer | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-07-12 14:07:03 -0700 |
commit | 39f7ce8fd495451a1c0114daefb326be05cc97b1 (patch) | |
tree | d8637b87aa4aa5ba99d97ca45636f80839c97795 /components/script/dom/bindings/codegen/parser | |
parent | aa811be8164a4dc872c438738f897ac605bd093d (diff) | |
download | servo-39f7ce8fd495451a1c0114daefb326be05cc97b1.tar.gz servo-39f7ce8fd495451a1c0114daefb326be05cc97b1.zip |
webidl: Apply and update debug.patch, remove abstract.patch which was already upstream.
Diffstat (limited to 'components/script/dom/bindings/codegen/parser')
3 files changed, 12 insertions, 23 deletions
diff --git a/components/script/dom/bindings/codegen/parser/WebIDL.py b/components/script/dom/bindings/codegen/parser/WebIDL.py index a0dededf912..da32340dda6 100644 --- a/components/script/dom/bindings/codegen/parser/WebIDL.py +++ b/components/script/dom/bindings/codegen/parser/WebIDL.py @@ -6823,7 +6823,8 @@ class Parser(Tokenizer): self.parser = yacc.yacc(module=self, outputdir=outputdir, tabmodule='webidlyacc', - errorlog=logger + errorlog=logger, + debug=False # Pickling the grammar is a speedup in # some cases (older Python?) but a # significant slowdown in others. diff --git a/components/script/dom/bindings/codegen/parser/abstract.patch b/components/script/dom/bindings/codegen/parser/abstract.patch deleted file mode 100644 index a8e2ddcf759..00000000000 --- a/components/script/dom/bindings/codegen/parser/abstract.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- WebIDL.py -+++ WebIDL.py -@@ -1416,7 +1416,8 @@ - identifier == "LegacyEventInit" or - identifier == "ProbablyShortLivingObject" or - identifier == "LegacyUnenumerableNamedProperties" or -- identifier == "NonOrdinaryGetPrototypeOf"): -+ identifier == "NonOrdinaryGetPrototypeOf" or -+ identifier == "Abstract"): - # Known extended attributes that do not take values - if not attr.noArguments(): - raise WebIDLError("[%s] must take no arguments" % identifier, diff --git a/components/script/dom/bindings/codegen/parser/debug.patch b/components/script/dom/bindings/codegen/parser/debug.patch index 85075dea490..ca391c38273 100644 --- a/components/script/dom/bindings/codegen/parser/debug.patch +++ b/components/script/dom/bindings/codegen/parser/debug.patch @@ -1,12 +1,12 @@ --- WebIDL.py +++ WebIDL.py -@@ -6438,7 +6438,8 @@ class Parser(Tokenizer): - self.parser = yacc.yacc(module=self, - outputdir=outputdir, - tabmodule='webidlyacc', -- errorlog=logger -+ errorlog=logger, -+ debug=False - # Pickling the grammar is a speedup in - # some cases (older Python?) but a - # significant slowdown in others. +@@ -6823,7 +6823,8 @@ class Parser(Tokenizer): + self.parser = yacc.yacc(module=self, + outputdir=outputdir, + tabmodule='webidlyacc', +- errorlog=logger ++ errorlog=logger, ++ debug=False + # Pickling the grammar is a speedup in + # some cases (older Python?) but a + # significant slowdown in others. |