From: Gerhard Sittig Date: Tue, 4 Jul 2023 16:40:19 +0000 (+0200) Subject: input/vcd: use common helpers for text lines/words splitting X-Git-Url: http://sigrok.org/gitweb/?a=commitdiff_plain;h=ec55714181b0c60e293a5ff6b838b7c99dcabde3;hp=ec55714181b0c60e293a5ff6b838b7c99dcabde3;p=libsigrok.git input/vcd: use common helpers for text lines/words splitting Use recently added strutil helpers which isolate text lines in receive buffers and which locate whitespace separated words on text lines. This simplifies the processing of the data section of VCD input files. It's essential to _not_ use these helpers when the receive buffer must not get manipulated, like in file format matches, or when control data sections span multiple text lines. Update comments to raise awareness. ---