From f019acddc6e300dcc36e898f258d67fe242a2c7d Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 8 Apr 2015 12:42:42 +0200 Subject: Silence warnings from ply.lex.lex() --- prolog/lexer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.1