keegnotrub / coda-sass-plugin

A plug-in for Panic's Coda 2 that converts scss files into css files.
https://github.com/keegnotrub/coda-sass-plugin
82 stars 10 forks source link

inline comments causing compiling issue #23

Closed dypsilanti closed 9 years ago

dypsilanti commented 9 years ago

If I create an inline comment on a new line, after a comma, the scss won't compile and an error occurs.

I've been using this plugin for the better part of a year across numerous scss files and this has suddenly started happening. Is this due to the most recent update?

screen shot 2015-05-05 at 3 56 05 pm

keegnotrub commented 9 years ago

@dypsilanti - Thanks for letting me know. This does look like a regression against the latest version of libsass (the library I use to compile the scss). I'll need to submit an issue with them. When I get to it I'll reference this ticket, otherwise feel free to submit an issue with them as well.

In the meantime I believe you can work around by either dropping back a version or by using block level comments:

.context-course_{
  // S15
  &3333, 
  // F15
  &4444 {
    .m0 { color: red };
  }
}
keegnotrub commented 9 years ago

@dypsilanti I believe this is now addressed in the latest release from my testing. Closing this issue for now but feel free to reopen if still is an issue for you.