Mirror of CollapseOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
594B

  1. ( Note that the last word is always skipped because it's not
  2. possible to reliably detect its end. If you need that last
  3. word, define a dummy word before calling RLDICT.
  4. We first start by copying the affected area to H@+4. This is
  5. where the relinking will take place.
  6. Then we iterate the new dict from the top, keeping track of
  7. wr, the current wordref and we, wr's end offset.
  8. Initially, we get our wr and we, withH@ and CURRENT, which we
  9. offset by u+4. +4 before, remember, we're using 4 bytes
  10. as variable space.
  11. At each iteration, we becomes wr-header and wr is fetched from
  12. PREV field. )