I am updating one of my old projects which used Botstrap v2.3.2 with LESS. It used to compile without a hitch, but now I am getting this error:
LESS CSS Compiler Error
mixins.less: Parse Error: Unrecognised input (line 561, column 6) near .spanX
(@index) when (@index > 0) { (~".span@{index}") { .span(@index); } .spanX(@index - 1);
The problem appears to be here:
.spanX (@index) when (@index > 0) {
(~".span@{index}") { .span(@index); } // <-- line 561 in mixins.less
.spanX(@index - 1);
}
Not sure what the problem is. Any thoughts?