WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

skip empty LN with # instead of filling LN #39

@gapkalov

Description

@gapkalov

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions