Sha256: 63b58ef6ef8777bb4b833c15f0034e9ba83a40fe58b31dede457608d82ac2011
Contents?: true
Size: 254 Bytes
Versions: 8
Compression:
Stored size: 254 Bytes
Contents
# lex_token2.py # # Tests for tokens of wrong type import sys if ".." not in sys.path: sys.path.insert(0,"..") import ply.lex as lex tokens = "PLUS MINUS NUMBER" t_PLUS = r'\+' t_MINUS = r'-' t_NUMBER = r'\d+' def t_error(t): pass lex.lex()
Version data entries
8 entries across 8 versions & 1 rubygems