aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/ast/parser.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/ast/parser.go')
-rw-r--r--pkg/ast/parser.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/ast/parser.go b/pkg/ast/parser.go
index 214be7fb9..9e1ab679e 100644
--- a/pkg/ast/parser.go
+++ b/pkg/ast/parser.go
@@ -353,6 +353,8 @@ func (p *parser) parseCommentBlock() []*Comment {
for p.tok == tokComment {
comments = append(comments, p.parseComment())
p.consume(tokNewLine)
+ for p.tryConsume(tokNewLine) {
+ }
}
return comments
}