summaryrefslogtreecommitdiff
path: root/tests/lex_token1.py
blob: 1001a99ce373d2856bd604d721ac4c9df456d03d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# lex_token1.py
#
# Tests for absence of tokens variable

import ply.lex as lex

t_PLUS = r'\+'
t_MINUS = r'-'
t_NUMBER = r'\d+'

def t_error(t):
    pass

lex.lex()