klen / python-scss

Python scss parser.
http://packages.python.org/scss/
GNU Lesser General Public License v3.0
67 stars 12 forks source link

Functions with multiword parameters fail to parse #29

Closed rockymeza closed 12 years ago

rockymeza commented 12 years ago

If a function is called with multiword parameters, such as center bottom, it throws a ParseException and exits.

This:

.test {
  background-image: -moz-linear-gradient(center bottom, #ffffff 1%, #000000 100%);
}

should compile to CSS that is identical, or without whitespace:

.test{background-image:-moz-linear-gradient(center bottom,#ffffff 1%,#000000 100%)}

This is similar to #9 in that it uses the -moz-linear-gradient CSS function, but different because that one only had single word parameters.

klen commented 12 years ago

Sorry, I not supported python-scss anymore. Use https://github.com/Kronuz/pyScss