The solution seems to be as simple as adding a || chr == ?? in Scanner#word?
-- 
Lo-lee-ta: the tip of the tongue taking a trip of three
   steps down the palate to tap, at three, on the teeth.
Lo. Lee. Ta.               GUO Shu-yu <shu / rufuran.org>