From e6bbfd16c0e50a7f20a51ff8edb3bf0797a68594 Mon Sep 17 00:00:00 2001 From: Erez Sh Date: Mon, 23 Nov 2020 10:24:44 +0200 Subject: [PATCH] Fixed comment --- lark/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lark/exceptions.py b/lark/exceptions.py index 1d63561..44f8cbb 100644 --- a/lark/exceptions.py +++ b/lark/exceptions.py @@ -155,7 +155,7 @@ class UnexpectedToken(ParseError, UnexpectedInput): see: :ref:`ParserPuppet`. """ def __init__(self, token, expected, considered_rules=None, state=None, puppet=None, token_history=None): - # TODO considered_tokens and allowed can be figured out using state + # TODO considered_rules and expected can be figured out using state self.line = getattr(token, 'line', '?') self.column = getattr(token, 'column', '?') self.pos_in_stream = getattr(token, 'pos_in_stream', None)