summaryrefslogtreecommitdiff
path: root/test/lex_state2.exp
blob: 8b042515ab62c4ab7d05932a018ff92ef335ae8d (plain)
1
2
3
4
5
6
7
8
lex: invalid state specifier 'comment'. Must be a tuple (statename,'exclusive|inclusive')
lex: invalid state specifier 'example'. Must be a tuple (statename,'exclusive|inclusive')
Traceback (most recent call last):
  File "./lex_state2.py", line 38, in <module>
    lex.lex()
  File "../ply/lex.py", line 759, in lex
    raise SyntaxError,"lex: Unable to build lexer."
SyntaxError: lex: Unable to build lexer.