berfarah / LESS-build-sublime

Less build sytem for Sublime Text 2
Apache License 2.0
91 stars 14 forks source link

Semicolon as argument separator #37

Open gelus opened 11 years ago

gelus commented 11 years ago

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!

aleksigron commented 11 years ago

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.

gin93r commented 10 years ago

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]
Nickersona commented 10 years ago

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