Sign in
gem5
/
public
/
gem5
/
ba2eae5d528487900d1510fc0a160e660f2c394c
/
.
/
ext
/
ply
/
test
/
lex_doc1.py
blob: fb0fb885ea5114f508834bb120873c4af0ca462d [
file
] [
log
] [
blame
]
# lex_token.py
#
# Missing documentation string
import
lex
tokens
=
[
"PLUS"
,
"MINUS"
,
"NUMBER"
,
]
t_PLUS
=
r
'\+'
t_MINUS
=
r
'-'
def
t_NUMBER
(
t
):
pass
def
t_error
(
t
):
pass
import
sys
sys
.
tracebacklimit
=
0
lex
.
lex
()