summaryrefslogtreecommitdiff
path: root/prolog/lexer.py
diff options
context:
space:
mode:
Diffstat (limited to 'prolog/lexer.py')
-rw-r--r--prolog/lexer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/prolog/lexer.py b/prolog/lexer.py
index 42d1620..712aa42 100644
--- a/prolog/lexer.py
+++ b/prolog/lexer.py
@@ -88,7 +88,7 @@ def t_error(t):
t.lexer.skip(1)
return t
-lexer = lex.lex()
+lexer = lex.lex(errorlog=lex.NullLogger())
if __name__ == '__main__':
while True: