jcpp icon indicating copy to clipboard operation
jcpp copied to clipboard

skip empty LN with # instead of filling LN

Open gapkalov opened this issue 6 years ago • 1 comments

gcc pack more than six sequent empty line into one line with using of # directive like this one:

before:
\r
\r
\r
\r
\r
\r
void foo(){}
after:
# 6 "filename.ext"
void foo(){}

https://gcc.gnu.org/onlinedocs/cpp/Preprocessor-Output.html

this is dramatically decrease size of output file

gapkalov avatar Nov 21 '19 21:11 gapkalov

Very good idea, and somewhat artfully chosen. #line directives were a pain in the [....] and I'll spend a bit more time on this.

shevek avatar Dec 02 '19 19:12 shevek