/* Pick the suffix out and parse it. */
/* ??? Hmmm ... there may not be any need to nul-terminate the
string, and it may in fact complicate things. */
- for (t = *s == '.' ? s + 1 : s;
+ for (t = (*s == '.' || *s == '/') ? s + 1 : s;
*t && (isalnum (*t) || *t == '[' || *t == ']');
++t)
continue;
#define LPCREL11 (LUIMM12UP6 + 1)
{ 11, 0, TXVU_OPERAND_SIGNED + TXVU_OPERAND_RELATIVE_BRANCH, 0, 0, 0, 0 },
- /* Destination indicator, single letter only, with leading '.'. */
+ /* Destination indicator, single letter only, with leading '.' or '/'. */
#define LDOTDEST1 (LPCREL11 + 1)
{ 4, TXVU_SHIFT_DEST, TXVU_OPERAND_SUFFIX,
/* Note that we borrow the insert/extract/print functions from the
{
long dest;
- if (**pstr != '.')
+ if (**pstr != '.' && **pstr != '/')
{
*errmsg = "missing `.'";
return 0;
char c;
long dest;
- if (**pstr != '.')
+ if (**pstr != '.' && **pstr != '/')
{
*errmsg = "missing `.'";
return 0;