1# lex_
token.py
2#
3# Missing t_error() rule
45import sys
6sys.path.insert(0,"..")
78import ply.lex as lex
910tokens = [
11 "PLUS",
12 "MINUS",
13 "NUMBER",
14 ]
1516t_PLUS = r'\+'
17t_MINUS = r'-'
18t_NUMBER = r'\d+'
1920sys.tracebacklimit = 02122lex.lex()
2324