haml/haml — pull request #566 by mattwildig (2012-06-26 21:42:27+00:00)
Title: Raise Syntax error for nested else with no if

If an `else` is found but there's no corresponding `if`, allow Haml
to continue and let Ruby raise a SyntaxError during rendering.