From bddd6c1e89d98766949ad6a2beaec3c8ddf0abcc Mon Sep 17 00:00:00 2001 From: Pompolic <pompolic@special-circumstanc.es> Date: Fri, 23 Jul 2021 22:48:50 +0200 Subject: [PATCH] Fix expansion of H_VARULE macro --- pdf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdf.c b/pdf.c index e1c1904..d71fe57 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 */ -- GitLab