Ben Brewer
Ben Brewer
So the code which handles this is here: https://github.com/CodethinkLabs/ofc/blob/b69ad37be62d580eabeb081e64b43afe3c0b3384/src/sema/typeval.c#L1270 The intention is that it reports when you have an integer that's over 64-bit (8 bytes) or a floating point type...
Would it be possible to get a minimal test which triggers this issue?
The code for this is here: https://github.com/CodethinkLabs/ofc/blob/b69ad37be62d580eabeb081e64b43afe3c0b3384/src/parse/literal.c#L218 The call ofc_sparse_parent_pointer gets a pointer to the source without the spaces removed, so the code should handle holleriths with spaces in. This...
I should further note that this is failing during semantic analysis which should mean that the hollerith was parsed without issue. The specific error message is here: https://github.com/CodethinkLabs/ofc/blob/b69ad37be62d580eabeb081e64b43afe3c0b3384/src/sema/lhs.c#L2090
Would it be possible to get a minimal test which triggers this issue?