Sha256: a2d237ae84ac1a9a25f283bd510289d555f15349be1474087c81fd608aff6fa0
Contents?: true
Size: 301 Bytes
Versions: 8
Compression:
Stored size: 301 Bytes
Contents
# lex_error3.py # # t_error defined as function, but with wrong # args 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(): pass lex.lex()
Version data entries
8 entries across 8 versions & 1 rubygems