validateIndentation: Allow the "if" test to be nested.

how about `endLine++;` I think it's a bit clearer as to what's happening.