diff --git a/lark/lexer.py b/lark/lexer.py index 20775c8..d69db93 100644 --- a/lark/lexer.py +++ b/lark/lexer.py @@ -404,7 +404,7 @@ class TraditionalLexer(Lexer): raise EOFError(self) -class LexerState: +class LexerState(object): __slots__ = 'text', 'line_ctr', 'last_token' def __init__(self, text, line_ctr, last_token=None):