Fixed missing newline causing parse errors if C++ code lacked trailing newline.