haml/haml — pull request #580 by lann (2012-08-09 22:06:05+00:00)
Title: Fix handling of 'unless' or 'case' nested in if/else

The parser checks for incorrect 'else' nesting by tracking
if/case/unless blocks in an internal stack. It was pushing to but
never popping from this stack for 'unless' and 'case' blocks, leading
to spurious syntax errors.

Regression examples included.