Fix expansions that start from the end of another expansion (#839)

Do not free an expansion until its offset is *past* its size.
This means potentially freeing a nested stack of expansions
all at once.

Fixes #696
This commit is contained in:
Rangi
2021-04-17 13:14:40 -04:00
committed by GitHub
parent 750e93be3d
commit 9923fa3eee
9 changed files with 94 additions and 91 deletions

View File

@@ -1,6 +1,2 @@
recurse EQUS "\{recurse\} "
recurse EQUS "\{recurse\}"
{recurse}
; FIXME: also handle the following:
; recurse EQUS "\{recurse\}"
; {recurse}