summaryrefslogtreecommitdiff
path: root/ext/ply/test/lex_empty.py
blob: 6472832f108d2277a432d9e878f1ad561de0d74b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# lex_token.py
#
# No rules defined

import lex

tokens = [
    "PLUS",
    "MINUS",
    "NUMBER",
    ]

import sys
sys.tracebacklimit = 0

lex.lex()