const int DEPTH = 10;
static MText mt = new MText ("0123456789");
static MSymbol key = MSymbol.PropertyKey ("rse",
- MProperty.Flags.Sensitive);
+ MProperty.Flags.RearSensitive);
static MSymbol val0 = MSymbol.Of ("0");
static MSymbol val1 = MSymbol.Of ("1");
static MSymbol val2 = MSymbol.Of ("2");
sym = valtable[from - 1];
for (i = from - 1; i >= 0 && valtable[i] == sym; i--)
valtable[i] = null;
+ for (i = from; i < LENGTH && valtable[i] == sym; i++)
+ valtable[i] = null;
}
if (to < LENGTH && valtable[to - 1] != null)
{
sym = valtable[to - 1];
for (i = to - 1; i >= 0 && valtable[i] == sym; i--)
valtable[i] = null;
+ for (i = to; i < LENGTH && valtable[i] == sym; i++)
+ valtable[i] = null;
}
// copy