diff --git a/pdf.c b/pdf.c index e1c19046ef1472e2c39e8c12b55b752aeec28c28..d71fe57169295232a4a46bdee7be1585c97d0c07 100644 --- a/pdf.c +++ b/pdf.c @@ -1283,7 +1283,7 @@ init_parser(struct Env *aux) /* H_RULE(a85fivedigits_viol, h_repeat_n(SEQ(h_ch('!'), aws), 5)); * H_RULE(a85fivedigits_report_error, CHX(a85fivedigits, VIOL(a85fivedigits_viol, "Zero ASCII85Encoded as '!!!!!'"))); // Relaxes validation, will parse * - * h_attr_bool(h_action(a85fivedigits_viol_alt, act_a85fivedigits, NULL), validate_a85fivedigits, NULL) + * HParser *a85fivedigits_viol_alt = h_attr_bool(h_action(h_repeat_n(SEQ(h_ch('!'), aws), 5), act_a85fivedigits, NULL), validate_a85fivedigits, NULL); * H_RULE(a85fivedigits_report_error, CHX(a85fivedigits, VIOL(a85fivedigits_viol_alt, "Zero ASCII85Encoded as '!!!!!'"))); // Validation will run and stop the parse */