Cross Reference: lex_ignore.py
xref
: /
gem5
/
ext
/
ply
/
test
/
lex_ignore.py
Home
History
Annotate
Raw
Download
only in
/gem5/ext/ply/test/
Deleted
Added
sdiff
udiff
text
old ( 4479:61d3ed46e373 )
new ( 6498:e21e9ab5fad0 )
full
compact
lex_ignore.py (4479:61d3ed46e373)
lex_ignore.py (6498:e21e9ab5fad0)
1
# lex_
token
.py
1
# lex_
ignore
.py
2
#
3
# Improperly specific ignore declaration
4
5
import sys
2
#
3
# Improperly specific ignore declaration
4
5
import sys
6
sys.path.insert(0,"..")
6
if ".." not in sys.path:
sys.path.insert(0,"..")
7
8
import ply.lex as lex
9
10
tokens = [
11
"PLUS",
12
"MINUS",
13
"NUMBER",
14
]
---
17 unchanged lines hidden
---
7
8
import ply.lex as lex
9
10
tokens = [
11
"PLUS",
12
"MINUS",
13
"NUMBER",
14
]
---
17 unchanged lines hidden
---