1

I am trying to improve a build script that uses less to build some CSS and I am getting this. I didn't write this less, but my google-fu has been unable to figure out what is going on here and how to fix it

ParseError: Missing closing ')' in /Users/zkessin/Documents/Voalte/voalte-one/webvadmin/src/less/bootstrap/mixins.less on line 536, column 9:
535     .spanX (@index) when (@index > 0) {
536       (~".span@{index}") { .span(@index); }
537       .spanX(@index - 1);

My only guess is that this was written with an old version of less and I am using the current version

2
  • I guess we need to see a bit more of your mixins.less code. Depending on the compiler version that you are using, you probably don't even need (~".span@{index}"). Even .span@{index} would work fine in the latest versions.
    – Harry
    Jan 22, 2015 at 11:15
  • 1
    possible duplicate of LESS: Unrecognized input error when using Bootstrap Jan 22, 2015 at 11:25

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.