Move lex*() functions from tok-* to lex-* files.