lex_state3.exp (300B)
1lex: state name 1 must be a string 2lex: No rules defined for state 'example' 3Traceback (most recent call last): 4 File "./lex_state3.py", line 40, in ? 5 lex.lex() 6 File "../ply/lex.py", line 758, in lex 7 raise SyntaxError,"lex: Unable to build lexer." 8SyntaxError: lex: Unable to build lexer.