/* Create a new child for a given parent node. */
STATIC VOID MakeChild(IN NODE q, IN UINT8 c, IN NODE r)
/* Create a new child for a given parent node. */
STATIC VOID MakeChild(IN NODE q, IN UINT8 c, IN NODE r)
{
  NODE h, t;
  h = (NODE)HASH(q, c);
  t = mNext[h];
  mNext[h] = r;
  mNext[r] = t;
  mPrev[t] = r;
  mPrev[r] = h;
  mParent[r] = q;
  mChildCount[q]++;
}