Remove useless main routine from lex.py