less/less.js — pull request #1623 by seven-phases-max (2013-10-29 18:30:48+00:00)
Title: Minor mixin call matching fix.

This patch fixes a few minor issues with "complex selector" mixin matching.

Summary: mixin matching works incorrectly if one of parent selectors of the nested mixin has mutiple selector elements or uses `&`.
Minimal example:
```
.a {
&.b {
.c {
abc: 1;
}
}
}

.d .e {
.f {
def: 2;
}
}

test {
.a.b.c; // OK, but matches ".a.b" block
.d.e.f; // Error, no ".d.e.f" found
}
```
I did not found a dedicated issue report (it's probably too rare cases), but these errors were mentioned in https://github.com/less/less.js/issues/1205 and 1196#issuecomment-27240664.