All,
can someone confirm that in FillLoopAddrs() we still use Inst not as a union?
See patch for a working solution.
And to which branch should I commit this?
Bert
---
source/interpret.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --quilt old/source/interpret.c new/source/interpret.c
--- old/source/interpret.c
+++ new/source/interpret.c
@@ -450,9 +450,9 @@ void FillLoopAddrs(Inst *breakAddr, Inst
if (*LoopStackPtr == NULL)
break;
if ((*LoopStackPtr)->value == NEEDS_BREAK)
- **(Inst ***)LoopStackPtr = (Inst *)(breakAddr - *LoopStackPtr);
+ (*LoopStackPtr)->value = breakAddr - *LoopStackPtr;
else if ((*LoopStackPtr)->value == NEEDS_CONTINUE)
- **(Inst ***)LoopStackPtr = (Inst *)(continueAddr - *LoopStackPtr);
+ (*LoopStackPtr)->value = continueAddr - *LoopStackPtr;
else
fprintf(stderr, "NEdit: internal error (uat) in macro parser\n");
}
--
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop