summaryrefslogtreecommitdiff
path: root/prolog
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2015-10-28 11:26:07 +0100
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2015-12-10 14:10:04 +0100
commitc7ce88a12ad4469642aaad0a4ad675769d6aa591 (patch)
treed796f2ed2cc42ff5fb0829cfc451e056d23ca2f6 /prolog
parent8edd2833270a0a531440b0d3407ec36f61ea2ee7 (diff)
Disable debug info when generating Prolog parser
Diffstat (limited to 'prolog')
-rw-r--r--prolog/parser.py2
1 files changed, 1 insertions, 1 deletions
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: