diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2021-12-13 10:56:22 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-12-13 11:50:08 +0100 |
| commit | be3c96d30e70cbe08ccce6b6f734b6eac2125563 (patch) | |
| tree | 14b1b752106dcf4b8ba4afa63e774fa261581d86 /docs/headerparser_usage.md | |
| parent | e46390ef02fc48613bdcbaa50910f7ec44d10ee5 (diff) | |
tools/syz-kconf: better handle whitespaces for verbatim blocks
When we appended verbatim blocks we added '\n' for each of them,
(for every config file effectively). Even for empty verbatim blocks.
This worked fine because we had only 1 verbatim block and we do
TrimSpace for the resulting concatenated verbatim block
(so all excessive '\n' were removed). But this does not work for
multiple verbatim blocks because excessive '\n' will be in the middle
and won't be removed by TrimSpace.
Don't add '\n' for empty verbatim blocks.
Diffstat (limited to 'docs/headerparser_usage.md')
0 files changed, 0 insertions, 0 deletions
