mirror of
https://github.com/simh/simh.git
synced 2026-01-14 07:39:29 +00:00
SCP: Allow HALTAFTER= to be specified for RUN/GO UNTIL commands
This commit is contained in:
parent
932d16da53
commit
6d1e873087
3
scp.c
3
scp.c
@ -6819,7 +6819,8 @@ if ((flag == RU_RUN) || (flag == RU_GO)) { /* run or go */
|
||||
(flag == RU_RUN) ? "RUN" : "GO", gbuf, cptr);
|
||||
sim_switches = 0;
|
||||
GET_SWITCHES (cptr);
|
||||
if ((*cptr == '\'') || (*cptr == '"')) { /* Expect UNTIL condition */
|
||||
if (((*cptr == '\'') || (*cptr == '"')) || /* Expect UNTIL condition */
|
||||
(!sim_strncasecmp(cptr, "HALTAFTER=", 10))) {
|
||||
r = expect_cmd (1, cptr);
|
||||
if (r != SCPE_OK)
|
||||
return r;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user