allow one line c++ section (% at start of line) to be closed with eof