Fix a REPL bug that made tokens disappear