add new line after } for eof_ending.