zmoazeni / csscss

A CSS redundancy analyzer that analyzes redundancy.
http://zmoazeni.github.io/csscss/
MIT License
2.92k stars 151 forks source link

Don't know what to do with "@media onl" at line 3401 char 1. #50

Closed emlama closed 11 years ago

emlama commented 11 years ago

So I'm using Foundation 4 for a project and am trying to run csscss against the whole shebang and I'm encountering the following error:

new-host-9:Prototype matthewforr$ csscss sass/app.scss --compass-with-config config.rb --show-parser-errors
Had a problem parsing the css at line: 3401, column: 1
Failed to match sequence (SPACE? blocks:((COMMENT / NESTED_RULESET / RULESET){1, }) SPACE?) at line 3401 char 1.
`- Don't know what to do with "@media onl" at line 3401 char 1.

I don't have a @media onl line anywhere in my project which leads me to think that the output is possibly being truncated. Is this possible? Is there a way I could log the file that is generated?

Let me know and I can investigate. Thanks.

zmoazeni commented 11 years ago

@matthewforr Strange. Do you think the generated css from scss/compass is creating the @media onl.. bit? It does sound like a parser issue on my end, but it'd be helpful to get the offending css.

zmoazeni commented 11 years ago

I'm going to go ahead and close this, but please upgrade to the latest csscss gem and see if you can receate.