diff --git a/lib/less/parser.js b/lib/less/parser.js index caf89bd..375c5fb 100644 --- a/lib/less/parser.js +++ b/lib/less/parser.js @@ -159,7 +159,8 @@ less.parser = { var node; while (node = $(this.ruleset, []) || $(this.rule) || $(this.mixin.definition, []) || - $(this.mixin.call) || $(/\/\*([^*]|\*+[^\/*])*\*+\//g) || $(/[\n\s]+/g) || $(this.directive)) { + $(this.mixin.call) || $(/\/\*([^*]|\*+[^\/*])*\*+\//g) || $(/\/\/.*/g) || + $(/[\n\s]+/g) || $(this.directive)) { root.push(node); } return root;