commit - e61966396178de7c6118f47291cf1d93b96072d3
commit + c8be9e8432f98ec8d146fda0d5ce02958a68ecc4
blob - ed6afd0326403345282b893da4fea696848d9f41
blob + 144724bffd29935267b8fdcb759697f93218deee
--- pdf.c
+++ pdf.c
* custom token types
*/
HTokenType TT_XREntry, TT_Ref, TT_Dict, TT_Null;
-HTokenType TT_HParseResult; // XXX what is this for?!
+HTokenType TT_HParseResult; /* parsed stream data */
HTokenType TT_TextEntry, TT_ObjStm;
typedef struct {
// Parser for object streams
+// XXX move this back where it belongs (trawl git log)
HParser *p_objstm__m(HAllocator *, const Dict *);
// Action for stream continuation
-HParsedToken *act_ks_value(const HParseResult *p, void *u);
+// XXX move this back next to act_ks_value() where it belongs
struct streamspec {
Dict *dict; /* stream dictionary */
HParser *parser; /* data parser */
b.len = INT_MAX;
log_message(7, "parse error in stream (type %*s)\n",
(int)b.len, b.token);
- // XXX return the undecoded stream (p->ast)?
}
return H_MAKE(HParseResult, res);
}