about summary refs log tree commit diff
path: root/recompile.e
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2026-09-08 19:41:25 -0700
committerIrene Knapp <ireneista@irenes.space>2026-09-08 22:44:13 -0700
commit880b631f268d70cf0282203f001afc1f0cc7bf31 (patch)
treeda96ea1b3bf80e98329d437fcdcd93bbfe07f142 /recompile.e
parente03216ba8bbc7547b1451ed99497c0693446983b (diff)
add keyword support to magic comment templates
additionally, handle many (not yet all) of the keywords used by amd64 words

this exposed an existing flaw in the metadata entry processing, which is now fixed as well. to wit: it's common for provide-substring entries to come after the comment entries they go with in the entry array, but this is valid because adjust-length commands can edit the length field of the comment entry afterwards, and the comment entry will be moved to after the provide-substring entry based on its final length, but this can't happen if the adjust-length array isn't able to find the comment entry it goes with, which may not be the most recent entry. so, the adjust-length command needs to scan backwards to find the most recent comment entry, not just the most recent entry.

confused? don't worry... this CL includes documentation. wow. that was a lot.

Change-Id: I01c574fca020fd2e3adaf335267264fdbc8b87f1
Force-Push: yes please
Diffstat (limited to 'recompile.e')
0 files changed, 0 insertions, 0 deletions