]> sigrok.org Git - libsigrokdecode.git/commit
decoder: don't break error messages, factor out Python variable name
authorGerhard Sittig <redacted>
Sun, 1 Nov 2020 11:16:07 +0000 (12:16 +0100)
committerGerhard Sittig <redacted>
Sun, 9 Jan 2022 16:53:30 +0000 (17:53 +0100)
commitfdb1a90748f11204293dc8c6e2b559ef8ee8c08e
treea8149e9629438e730c52c1e706f72f2ffc655e69
parent8c4477692114cfb1a823d847b70c8ea96caa7301
decoder: don't break error messages, factor out Python variable name

Don't break long error messages in source code, so that developers can
grep for user reported strings during maintenance. This commit does not
change behaviour.

Concentrate repeated references to the 'annotation_rows' Python variable
name in a single spot at the top of the helper routine.
decoder.c