From c7ce88a12ad4469642aaad0a4ad675769d6aa591 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 28 Oct 2015 11:26:07 +0100 Subject: Disable debug info when generating Prolog parser --- prolog/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prolog/parser.py b/prolog/parser.py index c9f4d86..4e52a35 100644 --- a/prolog/parser.py +++ b/prolog/parser.py @@ -180,7 +180,7 @@ def p_error(t): else: raise SyntaxError('{}: unexpected {}'.format(t.lexpos, t.value)) -parser = yacc.yacc() +parser = yacc.yacc(debug=False) if __name__ == '__main__': while True: -- cgit v1.2.1