lex_state2.exp (403B)
1lex: invalid state specifier 'comment'. Must be a tuple (statename,'exclusive|inclusive') 2lex: invalid state specifier 'example'. Must be a tuple (statename,'exclusive|inclusive') 3Traceback (most recent call last): 4 File "./lex_state2.py", line 38, 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.