]> sigrok.org Git - libsigrok.git/commit
input/csv: trim whitespace after eliminating comments
authorGerhard Sittig <redacted>
Sun, 13 Oct 2019 14:28:39 +0000 (16:28 +0200)
committerGerhard Sittig <redacted>
Sat, 21 Dec 2019 17:20:04 +0000 (18:20 +0100)
commitb2c4dde226467e0c3a14d14370efcdeb54c089a2
treedd53a1bc872a45cc150f65558f574705757f5c32
parentc6aa9870b4e44c94621ea124898b9b860acf86ce
input/csv: trim whitespace after eliminating comments

Accept when comments are indented, trim the whitespace from text lines
after stripping off the comment. This avoids the processing of lines
which actually are empty, and improves robustness (avoids errors for a
non-fatal situation). Also results in more appropriate diagnostics at
higher log levels.
src/input/csv.c