From 04ce3db23b9172004234bed208e174792d7a758c Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Sun, 26 Jul 2015 21:56:28 +0100 Subject: [PATCH] add back missing comment fix - fixes #2072 --- src/parser/comments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {