in reply to Re^2: CSS parsing
in thread CSS parsing

No, I doubt that. It has nothing to do with the semicolon, I think the semicolon would even make matters worse.

As far as I understand the code, the parsing works line by line. Each line is expected to be either a condition and an opening brace, or two strings separated by a colon, or a closing brace. If a line is more complicated than this, this simple code can't break it apart.