[Therion] Invalid length reading error reported due to (valid) scrap definition

Wookey wookey at wookware.org
Wed Aug 16 14:31:26 CEST 2023


On 2023-08-07 08:38 +0200, Benedikt Hallinger wrote:
> Hm, I'm not sure this will trigger a lot of false positives in some of my
> projects, where structure is heavily divided into smaller files which are
> inputted to form a whole complete.

Right. centreline doesn't have to be balanced on a per-file
basis. Survey structure and file structure are independent in Therion
same as they are in survex. 

> When an encenterline is missing somewhere, this is some sort of unbalanced
> braces problem like in a C compiler; so mabye therion should output at the
> end that there is unbalanced centerline/endcenterline numbers (or all other
> such structures, in this regard) in the input data.

Right if it errored on unbalanced start/end primitives and said which
files were unbalanced that should narrow it down enough to find the
mistake (because on most projects most files will be balanced?).

I'm not sure if there is a better interface/algorithm?

Wookey
-- 
Principal hats:  Debian, Wookware, ARM
http://wookware.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20230816/28d459a4/attachment.sig>


More information about the Therion mailing list