1# lex_empty.py |
2# 3# No rules defined 4 5import sys |
6if ".." not in sys.path: sys.path.insert(0,"..") |
7 8import ply.lex as lex 9 10tokens = [ 11 "PLUS", 12 "MINUS", 13 "NUMBER", 14 ] 15 |
16 |
17 |
18lex.lex() 19 20 |