Fix parse error effectinge pseudo classes with guards. Fixes #2352

This commit is contained in:
Luke Page
2015-01-03 17:07:06 +00:00
parent c4c365e613
commit 49955d3a35
7 changed files with 16 additions and 10 deletions

View File

@@ -99,4 +99,5 @@
}
.errors-if-called when (@c = never) {
.mixin-doesnt-exist();
}
}
a:hover when (2 = true) {5:-}

View File

@@ -1,4 +1,4 @@
ParseError: Unrecognised input. Possibly missing opening '(' in {path}detached-ruleset-2.less on line 5, column 9:
ParseError: Expected ')' in {path}detached-ruleset-2.less on line 5, column 9:
4 .a {
5 a: @a();
6 }

View File

@@ -1,4 +1,4 @@
SyntaxError: expected ')' got '(' in {path}parens-error-1.less on line 2, column 18:
ParseError: Expected ')' in {path}parens-error-1.less on line 2, column 18:
1 .a {
2 something: (12 (13 + 5 -23) + 5);
3 }

View File

@@ -1,4 +1,4 @@
SyntaxError: expected ')' got '-' in {path}parens-error-2.less on line 2, column 28:
ParseError: Expected ')' in {path}parens-error-2.less on line 2, column 28:
1 .a {
2 something: (12 * (13 + 5 -23));
3 }

View File

@@ -1,4 +1,4 @@
SyntaxError: expected ')' got '-' in {path}parens-error-3.less on line 2, column 29:
ParseError: Expected ')' in {path}parens-error-3.less on line 2, column 29:
1 .a {
2 something: (12 + (13 + 10 -23));
3 }