Fix unterminated statements.