LESS-build-sublime icon indicating copy to clipboard operation
LESS-build-sublime copied to clipboard

Semicolon as argument separator

Open gelus opened this issue 11 years ago • 3 comments

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!

gelus avatar May 20 '13 18:05 gelus

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.

aleksigron avatar Jul 14 '13 21:07 aleksigron

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]

gin93r avatar May 01 '14 14:05 gin93r

Is there any resolution to this? The build can't process bootstrap due to the semi-colons as argument separators.

Nickersona avatar May 12 '14 00:05 Nickersona