Fixing segfault in repl when given an expression with no tokens