lex.go: Reorder functions