Kronuz / pyScss

pyScss, a Scss compiler for Python
MIT License
582 stars 141 forks source link

Spurious semicolons do funny things to output #242

Closed eevee closed 10 years ago

eevee commented 11 years ago
$ python -m scss --style expanded <<< 'p { color: red; }; p { color: blue; }'
p {
  color: red;
}

; p {
  color: blue;
}

Not really down with having that semicolon as part of a selector. It breaks the entire rule.

Obviously this is bogus, but Ruby ignores it, and anyway we (a) support rules at top level and (b) should just ignore "empty" rules like this.

eevee commented 10 years ago

No longer happening, for whatever reason.