From 4f5d37c6a9df5b264e602e7a8406ede24deb2266 Mon Sep 17 00:00:00 2001 From: Pompolic <pompolic@special-circumstanc.es> Date: Fri, 14 Feb 2020 16:33:12 +0100 Subject: [PATCH] Define ASCII85 EOD marker --- pdf.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pdf.c b/pdf.c index b46e3f0..0a1e2a6 100644 --- a/pdf.c +++ b/pdf.c @@ -1095,6 +1095,10 @@ ASCIIHexDecode(const Dict *parms, HBytes b, HParser *p) HParseResult* ASCII85Decode(const Dict *parms, HBytes b, HParser *p) { + HParseResult *res; + H_RULE(lwchar, IN(LWCHARS)); + + H_RULE(a85eod, SEQ(h_ch('~'), OPT(h_many(lwchar)), h_ch('>'))); fprintf(stderr, "ASCII85Decode: not implemented\n"); return NULL; } -- GitLab