More auto-semicolon logic