mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
webidl: Apply and update debug.patch, remove abstract.patch which was already upstream.
This commit is contained in:
parent
aa811be816
commit
39f7ce8fd4
3 changed files with 12 additions and 23 deletions
|
@ -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.
|
||||||
|
|
|
@ -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,
|
|
|
@ -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',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue