#986636 segmentation fault on RETURN

Package:
bwbasic
Source:
bwbasic
Description:
Bywater BASIC Interpreter
Submitter:
Ryan Kavanagh
Date:
2021-04-08 14:33:03 UTC
Severity:
normal
#986636#5
Date:
2021-04-08 14:31:45 UTC
From:
To:
bwbasic segfaults when it tries to interpret extra RETURNs (i.e.,
RETURNs with no corresponding GOSUBs).

This can be reproduced using the following file s.bas:
----8<----
0 RETURN
----8<----

The file s.bas and a backtrace from running "bwbasic s.bas" are
attached.