Auto indentation fails when a semicolon occurs at the end of a line

User picture
User picture
User picture
User picture
User picture
User picture