Skip to content

Commit b571857

Browse files
author
drecouse
committed
fix line comments with control blocks
1 parent 575b0b2 commit b571857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

algorithmic.typ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
#let Call(..args) = (CallInline(..args),)
142142
#let Fn(..args) = (FnInline(..args),)
143143
#let Comment(c) = (CommentInline(c),)
144-
#let LineComment(l, c) = ([#l.first()#h(1fr)#CommentInline(c)],)
144+
#let LineComment(l, c) = ([#l.first()#h(1fr)#CommentInline(c)], ..l.slice(1),)
145145

146146
// Control flow
147147
#let If = iflike.with(kw1: "if", kw2: "then", kw3: "end")

0 commit comments

Comments
 (0)