mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-02 06:28:49 -06:00
`read_inner` now reads `-+280` and `++280` as well as `--280`, but `Number::skip` consumed one sign and then required a digit, a dot or a further `-`. So a skip failed where a read succeeded, and `ReaderExt::skip` puts the reader back where it started -- `Object::skip` would leave the number in place rather than step over it. `--280` was already covered, by the `b'-'` arm. One more sign is consumed, and the six sign forms are asserted skippable to the end of the token. Without this the test says `-+280: not skipped`. A third sign is still read and skipped differently (`---280` reads as 0 and skips whole), which was already so before this branch and is left alone. Found in review of #3630.