richthegeek / phpsass

A compiler for SASS/SCSS written in PHP, brought up to date (approx 3.2) from a fork of PHamlP: http://code.google.com/p/phamlp/
http://phpsass.com/
382 stars 83 forks source link

Throw exception when count of closing brackets don't match opening brackets #148

Closed fraxachun closed 10 years ago

fraxachun commented 10 years ago

Removing static from $level changes the semantic of the variable but I don't think it is really meant to be static. However, this implementation gives the possibility to check whether all brackets which were opened in one file are closed again.