On Thu Oct 24, 2024 at 1:49 PM CEST, onf wrote:
> I am also attaching the (almost) original version with all the
> dependencies as 'util.tmac' just in case you would find it nicer
> to use (or read). Please let me know if you need help understanding
> anything or if you find any bugs.
Found one myself -- an oversight when inlining a conditional.
Apply this small patch if you wanna use it:
-- 8< ----------------------------------------------------------- 8< --
--- util.tmac 2024-10-25 23:36:52.992139584 +0200
+++ util.tmac 2024-10-25 23:37:30.923283589 +0200
@@ -452,7 +452,6 @@
. while (\\n[_i] < \\n[ev:nreg]) \{\# save registers
. ds _name \\*[ev:reg\\n[_i].name]
. ie r \\*[_name] .nr ev:reg(\\n[.ev],\\*[_name]) \\n[\\*[_name]]
-. \}
. nr _i +1
. \}
.