summaryrefslogtreecommitdiff
path: root/prolog
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.org>2015-04-08 12:42:42 +0200
committerAleš Smodiš <aless@guru.si>2015-08-11 14:26:03 +0200
commitf019acddc6e300dcc36e898f258d67fe242a2c7d (patch)
treef16d16fdde36397bb5c4b86de9801f5dfa3b3835 /prolog
parenta7ca40bfe1c3ca86e239574a01d958e4eba751ee (diff)
Silence warnings from ply.lex.lex()
Diffstat (limited to 'prolog')
-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: