a little code golf in src/lexer.jl