Reference inline comments.

As described in https://github.com/less/less.js/issues/2675 in-value comments are not preserved in referenced rules.

This patch adds reference marking to nodes below rules and expressions if markReferenced is available.
This commit is contained in:
Jacques Favreau
2015-08-29 23:54:26 -07:00
parent ff5e5a040b
commit 74ef1ebacd
5 changed files with 27 additions and 3 deletions

View File

@@ -37,7 +37,7 @@
.zz {
.y {
pulled-in: yes;
pulled-in: yes /* inline comment survives */;
}
/* comment pulled in */
}