SCP: Allow HALTAFTER= to be specified for RUN/GO UNTIL commands
This commit is contained in:
parent
932d16da53
commit
6d1e873087
1 changed files with 2 additions and 1 deletions
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);
|
(flag == RU_RUN) ? "RUN" : "GO", gbuf, cptr);
|
||||||
sim_switches = 0;
|
sim_switches = 0;
|
||||||
GET_SWITCHES (cptr);
|
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);
|
r = expect_cmd (1, cptr);
|
||||||
if (r != SCPE_OK)
|
if (r != SCPE_OK)
|
||||||
return r;
|
return r;
|
||||||
|
|
Loading…
Add table
Reference in a new issue