Added support for cycles in new repeat syntax

This commit is contained in:
2023-02-24 16:32:41 +02:00
parent 595fc346ae
commit f4f819291a
2 changed files with 4 additions and 2 deletions

View File

@ -382,4 +382,4 @@ class ZiffersTransformer(Transformer):
return RepeatedSequence(values=items[0], repeats=Integer(value=2, text="2"))
def repeat_item(self, items):
return RepeatedListSequence(values=[items[0]],repeats=items[1])
return RepeatedListSequence(values=[items[0]],repeats=items[1], wrap_start="", wrap_end=":"+items[1].text)