When searching for, say ⎕Ed in ⎕SE Fire crashes when a demo script is running.
This might be caused partly due to the fact that the demo script is fixing part of itself or/and because it is assigning functions and global variables on the same line separated by a ⋄.
Replacing ⋄ by NL in Fire.RemoveFnsAndOpr avoided the crash but the body, after masking all text, still contained a dfn when it shouldn't.
An attempt to break it down was tested with the new test functions Test_Replace_004 and Test_Replace_005 but both test cases pass. No more time at the moment to investigate further but there must be at least additional condition before the bug shows.
Also, avoiding the crash did net help when a "Replace" let to a WS FULL later on due to an endless loop.
When searching for, say
⎕Ed
in⎕SE
Fire crashes when a demo script is running.This might be caused partly due to the fact that the demo script is fixing part of itself or/and because it is assigning functions and global variables on the same line separated by a
⋄
.Replacing
⋄
byNL
inFire.RemoveFnsAndOpr
avoided the crash but the body, after masking all text, still contained a dfn when it shouldn't.An attempt to break it down was tested with the new test functions
Test_Replace_004
andTest_Replace_005
but both test cases pass. No more time at the moment to investigate further but there must be at least additional condition before the bug shows.Also, avoiding the crash did net help when a "Replace" let to a WS FULL later on due to an endless loop.