Added '.' as a legal character in a register name (From Harry Reed)
This commit is contained in:
parent
8f9a14c5a1
commit
faebb0b823
1 changed files with 1 additions and 1 deletions
2
scp.c
2
scp.c
|
@ -5380,7 +5380,7 @@ if ((cptr == NULL) || (dptr == NULL) || (dptr->registers == NULL))
|
|||
tptr = cptr;
|
||||
do {
|
||||
tptr++;
|
||||
} while (isalnum (*tptr) || (*tptr == '*') || (*tptr == '_'));
|
||||
} while (isalnum (*tptr) || (*tptr == '*') || (*tptr == '_') || (*tptr == '.'));
|
||||
slnt = tptr - cptr;
|
||||
for (rptr = dptr->registers; rptr->name != NULL; rptr++) {
|
||||
if ((slnt == strlen (rptr->name)) &&
|
||||
|
|
Loading…
Add table
Reference in a new issue