From d444d1bbdb376df4014ce99b1d59044d8d4c1272 Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Thu, 24 Mar 2011 14:25:16 -0400 Subject: [PATCH] parse comments inside expressions --- lib/less/parser.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/less/parser.js b/lib/less/parser.js index f22a43de..1aad1d94 100644 --- a/lib/less/parser.js +++ b/lib/less/parser.js @@ -728,7 +728,8 @@ less.Parser = function Parser(env) { // entity: function () { return $(this.entities.literal) || $(this.entities.variable) || $(this.entities.url) || - $(this.entities.call) || $(this.entities.keyword) || $(this.entities.javascript); + $(this.entities.call) || $(this.entities.keyword) || $(this.entities.javascript) || + $(this.comment); }, //