Fix nested expansions being incorrectly handled

The biggest problem was simply that the length of children expansions was
not accounted for when skipping over the parent... this took a lot of
arduous debugging, but it finally works!
This commit is contained in:
ISSOtm
2020-07-30 19:06:47 +02:00
parent 61b2fd9816
commit fed252bc49
5 changed files with 80 additions and 53 deletions
+4
View File
@@ -0,0 +1,4 @@
X1 equs "Y1 equs \"\\\"Success!\\\\n\\\"\""
Y1 equs "Z1"
X1
PRINTT Z1
View File
View File
+6 -2
View File
@@ -1,2 +1,6 @@
recurse EQUS "recurse"
recurse
recurse EQUS "recurse "
recurse
; FIXME: also handle the following:
; recurse EQUS "recurse"
; recurse