llcppsigfetch:keep line break
This commit is contained in:
@@ -259,7 +259,7 @@ func (ct *Converter) ParseComment(rawComment string) *ast.CommentGroup {
|
||||
lines := strings.Split(rawComment, "\n")
|
||||
commentGroup := &ast.CommentGroup{}
|
||||
for _, line := range lines {
|
||||
commentGroup.List = append(commentGroup.List, &ast.Comment{Text: line})
|
||||
commentGroup.List = append(commentGroup.List, &ast.Comment{Text: line + "\n"})
|
||||
}
|
||||
return commentGroup
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user