Am 13.10.2014 16:36, schrieb Daniel Murphy:
"Sönke Ludwig"  wrote in message news:[email protected]...

Oh, I've read "both line and column into a single uint", because of
"four words per token" - considering that "word == 16bit", but Andrei
obviously meant "word == (void*).sizeof". If simply using uint instead
of size_t is meant, then that's of course a different thing.

I suppose a 4GB single-line json file is still possible.

If we make that assumption, we'd have to change it from size_t to ulong, but my feeling is that this case (format error at >4GB && human tries to look at that place using an editor) should be rare enough that we can make the compromise in favor of a smaller struct size.

Reply via email to