vtst / ow

Various Eclipse plugins for web development
http://www.normalesup.org/~simonet/soft/
74 stars 29 forks source link

LESS: Parsing of @{...} variables fails #219

Closed derekcicerone-zz closed 10 years ago

derekcicerone-zz commented 10 years ago

Very excited to see that there is a new release but unfortunately it seems to have some problems with lesshat: https://github.com/madebysource/lesshat/blob/master/build/lesshat.less

There is a parser error in this block:

.placeholder(@color:#aaa, @element: 08121991) {
  .inception (@arguments) when not (@element = 08121991) {
    @{element}::-webkit-input-placeholder {
       color: @color;
    }
    @{element}:-moz-placeholder {
       color: @color;
    }
    @{element}::-moz-placeholder {
       color: @color;
    }
    @{element}:-ms-input-placeholder {
       color: @color;
    }
  }

Here is one of the errors:

extraneous input '' expecting '}'
vtst commented 10 years ago

Thanks for the bug report!

derekcicerone-zz commented 10 years ago

Whoa, thanks - that was fast :)