diff --git a/blueprintcompiler/parse_tree.py b/blueprintcompiler/parse_tree.py index 7a44c80..8b2963a 100644 --- a/blueprintcompiler/parse_tree.py +++ b/blueprintcompiler/parse_tree.py @@ -107,7 +107,7 @@ class ParseContext: """Contains the state of the parser.""" def __init__(self, tokens: T.List[Token], index=0): - self.tokens = list(tokens) + self.tokens = tokens self.binding_power = 0 self.index = index