fune/servo/components/script/dom/bindings/codegen/parser/debug.patch
Emilio Cobos Álvarez b07245f1c0 servo: Merge #12418 - WebIDL update (from emilio:webidl-update); r=Ms2ger
<!-- Please describe your changes on the following line: -->

~~This should help #11203~~ (no, it doesn't, but still worth it).

r? @jdm

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [x] There are tests for these changes OR

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 5d98ee61bbdb76e179bc62c0366438e28abe79a9
2016-07-13 00:00:04 -07:00

12 lines
619 B
Diff

--- WebIDL.py
+++ WebIDL.py
@@ -6823,7 +6823,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.