Stop generating a parser.out file in the source.

This commit is contained in:
Ms2ger 2016-03-01 09:42:41 +01:00
parent 00628704ca
commit 549f2669f0
4 changed files with 15 additions and 2 deletions

1
.gitignore vendored
View file

@ -24,5 +24,4 @@
servo-test
Servo.app
.config.mk.last
parser.out
/glfw

View file

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

View file

@ -0,0 +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.

View file

@ -1,5 +1,6 @@
wget https://mxr.mozilla.org/mozilla-central/source/dom/bindings/parser/WebIDL.py?raw=1 -O WebIDL.py
patch < abstract.patch
patch < debug.patch
patch < legacy-unenumerable-named-properties.patch
# TODO: update test files from https://dxr.mozilla.org/mozilla-central/source/dom/bindings/parser/tests