]> sigrok.org Git - libsigrok.git/commitdiff
input/vcd: use common helpers for text lines/words splitting
authorGerhard Sittig <redacted>
Tue, 4 Jul 2023 16:40:19 +0000 (18:40 +0200)
committerGerhard Sittig <redacted>
Wed, 12 Jul 2023 18:42:48 +0000 (20:42 +0200)
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.


No differences found