diff options
author | Martin Povišer <povik@cutebit.org> | 2023-01-12 17:09:53 +0100 |
---|---|---|
committer | Martin Povišer <povik@cutebit.org> | 2023-01-13 19:57:24 +0100 |
commit | ad149cc42aee9394ed5aa2783766fb039d23d2ce (patch) | |
tree | d6091505eae85126d904604947d62e1ad2749498 /docs | |
parent | 58487908352621036aa360f6bed441fc46b1882e (diff) | |
download | yosys-ad149cc42aee9394ed5aa2783766fb039d23d2ce.tar.gz yosys-ad149cc42aee9394ed5aa2783766fb039d23d2ce.tar.bz2 yosys-ad149cc42aee9394ed5aa2783766fb039d23d2ce.zip |
passes: show: Factor out 'join_label_pieces'
In two places, we are joining label pieces by a '|' separator. We go
about it by putting the separator behind each entry, then removing the
trailing separator in a final fixup pass on the built string. For easier
reading, replace those occurrences by a new factored-out
'join_label_pieces' function.
Signed-off-by: Martin Povišer <povik@cutebit.org>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions