cloudhead/less.js — Issue #436: Less parser fails with & and > in the same line.
Author: talibsharif
Created: 2011-10-27 19:31:03+00:00
State: open

Here is my test case using less-1.1.3.js:

var input = ".whatever {\n & > .abc {\n background: #F00;\n }\n }";
var parser = new window.less.Parser();
parser.parse(input, function(e, root) {console.log(e); console.log(root.toCSS())});

i get a Parse exception on line 2
"Syntax Error on line 2"