SCP: Allow range/count specifier to special last value reference ($) in EXAMINE
As discussed in #343
This commit is contained in:
parent
3e4b0af18f
commit
0b0f227057
1 changed files with 18 additions and 18 deletions
2
scp.c
2
scp.c
|
@ -7537,6 +7537,7 @@ else {
|
|||
*lo = (t_addr) strtotv (cptr, &tptr, rdx);
|
||||
if (cptr == tptr) /* error? */
|
||||
return NULL;
|
||||
}
|
||||
if ((*tptr == '-') || (*tptr == ':')) { /* range? */
|
||||
cptr = tptr + 1;
|
||||
if (dptr && sim_vm_parse_addr) /* get high */
|
||||
|
@ -7556,7 +7557,6 @@ else {
|
|||
}
|
||||
else *hi = *lo;
|
||||
}
|
||||
}
|
||||
if (term && (*tptr++ != term))
|
||||
return NULL;
|
||||
return tptr;
|
||||
|
|
Loading…
Add table
Reference in a new issue