-
Notifications
You must be signed in to change notification settings - Fork 149
Errors #9
Description
I have some feedback on the error messages.
After installing it & I was debugging an old CSS file & I got this error
I runned csscss -v body.css I got this `Had a problem parsing the css at line: 1, column: 1
Run with CSSCSS_DEBUG=true for verbose parser errors'
I would prefer if the debug feature is a flag something like --debug or --debug=true instead cause when I wrote this csscss --help it didn't say anything about how can I turn debug on.
secondly, after I tweeted you & you replied back that I need to run the command like this CSSCSS_DEBUG=true csscss -v body.css I got another error Had a problem parsing the css at line: 1, column: 1 Failed to match sequence (SPACE? blocks:((COMMENT / NESTED_RULESET / RULESET) {1, }) SPACE?) at line 1957 char 1. - Don't know what to do with "p.contactu" at line 1957 char 1.
actually the selector was p.contactussubheading excuse the bad selector name, apparently that's why I needed this tool so I can debug this file :) The problem actually was at line 1964.
Lastly, I think the output will be very helpful if it has line numbers, right now it looks like this
{.selector} AND {#selector} share 10 rules -moz-border-radius: 2px 0px 0px 2px another: rule; another-rule; ...
Maybe something like this will be better
L:20 {.selector} AND L:45 {#selector} share 10 rules -moz-border-radius: 2px 0px 0px 2px another: rule; another-rule; ...