Verified Commit 9eb83cd5 authored by
refactor(tokens): make arena reference-counted member instead of static
The initial motivation for this was the possibility of multiple arenas per file, which obviously precludes having a single static arena. But happily, in making the change I also fixed two other problems: 1. The tests no longer need to be run in a single thread. 2. The "mystery" of missing odd-numbered token ids was fixed by using mem::replace instead of Vec::insert inside TokenArena::set.
Showing with 887 additions and 497 deletions