-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mixins parse error : Unrecognised input with twitter/bootstrap latest master #376
Comments
The Code should be like this: .spanX (@index) when (@index > 0) {
(~".span@{index}") {
.span(@index);
}
.spanX(@index - 1);
} This is how it is documented http://leafo.net/lessphp/docs/#selector_expressions |
But this code is from twitter/bootsrap and it works with less.js |
You sure you are on master? I fixed this issue a little while ago ee5b675 |
Yes I saw that a patch has been made, but when I run the test below with the latest include 'leafo/lessphp/master/lessc.inc.php';
$oLessc = new lessc();
$oLescc = $oLessc->compile('
.span (@columns) {
width: @columns;
}
.spanX (@index) when (@index > 0) {
.span{@index} { .span(@index); } // Here is the error
.spanX(@index - 1);
}
'); |
You have a syntax error, it's |
You're right, I don't know why I have this error in the code. Sorry for this useless issue. |
I got this error on line
578
when i try to compile mixins.less file (latestmaster
) :Lessphp version used : latest
master
The text was updated successfully, but these errors were encountered: