mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
servo: Merge #9817 - Stop generating a parser.out file in the source (from Ms2ger:yacc-log); r=nox
Source-Repo: https://github.com/servo/servo Source-Revision: b355c0dbcbbbb5155170b4db971e012659081843
This commit is contained in:
parent
1a1ad99988
commit
8f0aadfb0d
1
servo/.gitignore
vendored
1
servo/.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.
|
||||
|
@ -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…
Reference in New Issue
Block a user