1
0
mirror of https://github.com/simh/simh.git synced 2026-03-02 17:55:17 +00:00

SCP: Allow HALTAFTER= to be specified for RUN/GO UNTIL commands

This commit is contained in:
Mark Pizzolato
2017-10-19 12:30:24 -07:00
parent 932d16da53
commit 6d1e873087

3
scp.c
View File

@@ -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;