LESS-build-sublime
LESS-build-sublime copied to clipboard
Semicolon as argument separator
ran on windows 7
as of less 1.3.3 you are allowed to use semicolons as argument separators.
.hg(left; white, black)
The above, two argument mixin, will compile fine from the command line, but not in the build.
Thank you!
The LESS reference actually recommends using semicolons as argument separators. When an argument list contains a semicolon, commas should be considered list separators, so you can pass lists as arguments.
I have the same problem when running from Tools > Build. An error will be returned if a semicolon is used as an argument separator:
Expected ')' but found ' ' on line 165 in file 'mixins.less':
[164]: }
[165]: .skew(@x; @y) {
--------^
[166]: -webkit-transform: skew(@x, @y);
[Done - Failed]
[Finished in 0.3s with exit code -5]
Is there any resolution to this? The build can't process bootstrap due to the semi-colons as argument separators.