Skip to content

Commit

Permalink
since parce-0.34 slicing a transform.ItemList does not create a new o…
Browse files Browse the repository at this point in the history
…ne; just pop()
  • Loading branch information
wbsoft committed Jun 10, 2023
1 parent 314acce commit 79fa75a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions quickly/lang/lilypond.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,7 @@ def latex_lilypond_environment(self, items):
"""
opts = []
if items.peek(0, "option"):
opts.extend(items[0].obj[0])
items = items[1:]
opts.extend(items.pop(0).obj[0])
end = None
tail_origin = ()
if items.peek(-4, a.Name.Builtin, a.Delimiter, a.Name.Tag, a.Delimiter):
Expand Down

0 comments on commit 79fa75a

Please sign in to comment.