More efficiently implement reading of integers vs. indirect references.

"testpdfio filename.pdf objnum" now shows object value if there is no stream.

Clean up debugging printfs.
This commit is contained in:
Michael R Sweet
2021-08-23 14:31:54 -04:00
parent cd5158bae0
commit 543364dfa2
5 changed files with 678 additions and 196 deletions

View File

@ -109,6 +109,7 @@ _pdfioTokenFlush(_pdfio_token_t *tb) // I - Token buffer/stack
else
{
// Nothing left, reset pointers...
PDFIO_DEBUG("_pdfioTokenFlush: Resetting pointers.\n");
tb->bufptr = tb->bufend = tb->buffer;
}
}