Source

ply / test / lex_empty.py

The default branch has multiple heads

Full commit
# lex_token.py
#
# No rules defined

import sys
sys.path.append("..")

import ply.lex as lex

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

sys.tracebacklimit = 0

lex.lex()