servo/components/script/dom/bindings/codegen/parser/debug.patch
Kagami Sascha Rosylight 56f31c85ef Sync WebIDL.py with gecko
2019-07-12 12:14:06 +09:00

12 lines
619 B
Diff

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