projects
/
sv2nmigen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
start constructing class
[sv2nmigen.git]
/
lexor.py
diff --git
a/lexor.py
b/lexor.py
index d19aa3ff2531558fda7a45f6f93c1314422d25df..754fcf134459009e8553edaefa3400107a608035 100644
(file)
--- a/
lexor.py
+++ b/
lexor.py
@@
-588,7
+588,7
@@
def t_LITERAL(t):
# t.lexer.begin('module')
if keyword == 'IDENTIFIER':
t.type = 'IDENTIFIER'
# t.lexer.begin('module')
if keyword == 'IDENTIFIER':
t.type = 'IDENTIFIER'
- t.value =
key
word
+ t.value = word
return t
t.type = keyword
return t
return t
t.type = keyword
return t
@@
-811,7
+811,7
@@
def t_timescale_end(t):
t.type = 'timescale'
t.value = code
t.lexer.pop_state()
t.type = 'timescale'
t.value = code
t.lexer.pop_state()
- print
"match", code
+ print
("match", code)
return t
"""
return t
"""