webidl: Apply and update debug.patch, remove abstract.patch which was already upstream.

This commit is contained in:
Emilio Cobos Álvarez 2016-07-12 14:02:33 -07:00
parent aa811be816
commit 39f7ce8fd4
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
3 changed files with 12 additions and 23 deletions

View file

@ -6823,7 +6823,8 @@ class Parser(Tokenizer):
self.parser = yacc.yacc(module=self, self.parser = yacc.yacc(module=self,
outputdir=outputdir, outputdir=outputdir,
tabmodule='webidlyacc', tabmodule='webidlyacc',
errorlog=logger errorlog=logger,
debug=False
# Pickling the grammar is a speedup in # Pickling the grammar is a speedup in
# some cases (older Python?) but a # some cases (older Python?) but a
# significant slowdown in others. # significant slowdown in others.

View file

@ -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,

View file

@ -1,6 +1,6 @@
--- WebIDL.py --- WebIDL.py
+++ WebIDL.py +++ WebIDL.py
@@ -6438,7 +6438,8 @@ class Parser(Tokenizer): @@ -6823,7 +6823,8 @@ class Parser(Tokenizer):
self.parser = yacc.yacc(module=self, self.parser = yacc.yacc(module=self,
outputdir=outputdir, outputdir=outputdir,
tabmodule='webidlyacc', tabmodule='webidlyacc',