diff --git a/pdf.c b/pdf.c
index b46e3f0acf7f177b8f740c9fd1e75a7be8c2b4c5..0a1e2a626d945183da662223d357ab1e0452cd8d 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;
 }