servo/components/script/dom/bindings/codegen/parser/debug.patch
Kagami Sascha Rosylight 1806b9ede2 Update WebIDL parser
2019-08-16 23:17:50 +09:00

12 lines
619 B
Diff

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