getting state machine proper on lexer for nlpt