forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
4 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,5 +24,4 @@ | |
servo-test | ||
Servo.app | ||
.config.mk.last | ||
parser.out | ||
/glfw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
servo/components/script/dom/bindings/codegen/parser/debug.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |