some changes to lexer_dfa class