mirror of
https://github.com/servo/servo.git
synced 2025-07-25 16:20:36 +01:00
Stop generating a parser.out file in the source.
This commit is contained in:
parent
00628704ca
commit
549f2669f0
4 changed files with 15 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -24,5 +24,4 @@
|
|||
servo-test
|
||||
Servo.app
|
||||
.config.mk.last
|
||||
parser.out
|
||||
/glfw
|
||||
|
|
|
@ -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.
|
||||
|
|
12
components/script/dom/bindings/codegen/parser/debug.patch
Normal file
12
components/script/dom/bindings/codegen/parser/debug.patch
Normal 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.
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue