Removed .format from lex/states.py