commit 4c8632507fb28092f7540248e372e0d1620fc1c5 from: Sven M. Hallberg date: Sat Jul 30 16:49:32 2022 UTC remove unneeded indirect parser h_indirect() is for when you need to refer to a parser before its definition. commit - d9c334977dd37d90585fd33c45cd7f2f16ab5f24 commit + 4c8632507fb28092f7540248e372e0d1620fc1c5 blob - 34d5686e0447bd74c7c97c5c26bbde156744d5bd blob + 073a4ec8f1fb879ceaacafe6890964ddcccae8c5 --- pdf.c +++ pdf.c @@ -2593,10 +2593,8 @@ init_parser(struct Env *aux) * Text Objects Extraction - embedded in content streams */ - H_RULE(txtbegin, h_indirect()); H_RULE(txt_before_junk, IGN(SEQ(h_not(LIT("BT")), CHX(comment, h_uint8())))); - H_RULE(txtbegin_, SEQ(IGN(h_many(txt_before_junk)), LIT("BT"), aws)); - h_bind_indirect(txtbegin, txtbegin_); + H_RULE(txtbegin, SEQ(IGN(h_many(txt_before_junk)), LIT("BT"), aws)); H_RULE(txtend, KW("ET")); /* 9.3 - Text state operators */ H_AVRULE(tnumb, numb);