Fixed parser bug wrt new and automatic semicolon insertion