diff --git a/src/parser/comments.js b/src/parser/comments.js index 65de15b5c6..9c5d58070f 100644 --- a/src/parser/comments.js +++ b/src/parser/comments.js @@ -74,7 +74,7 @@ pp.processComment = function (node) { if (lastChild) { if (lastChild.leadingComments) { - if (last(lastChild.leadingComments).end <= node.start) { + if (last(lastChild.leadingComments).end < node.start) { node.leadingComments = lastChild.leadingComments; lastChild.leadingComments = null; } else {