mirror of
https://github.com/less/less.js.git
synced 2026-05-01 03:00:22 -04:00
Fix parse error effectinge pseudo classes with guards. Fixes #2352
This commit is contained in:
@@ -99,4 +99,5 @@
|
||||
}
|
||||
.errors-if-called when (@c = never) {
|
||||
.mixin-doesnt-exist();
|
||||
}
|
||||
}
|
||||
a:hover when (2 = true) {5:-}
|
||||
@@ -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 }
|
||||
|
||||
@@ -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 }
|
||||
|
||||
@@ -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 }
|
||||
|
||||
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user