From: Gerhard Sittig Date: Sun, 13 Oct 2019 14:28:39 +0000 (+0200) Subject: input/csv: trim whitespace after eliminating comments X-Git-Url: https://sigrok.org/gitweb/?a=commitdiff_plain;h=b2c4dde226467e0c3a14d14370efcdeb54c089a2;hp=b2c4dde226467e0c3a14d14370efcdeb54c089a2;p=libsigrok.git 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. ---