Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
Hdlmake
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
15
Issues
15
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Hdlmake
Commits
c894f8f1
Commit
c894f8f1
authored
Oct 29, 2019
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vlog_parser.py: remove useless import.
parent
b5924e1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
vlog_parser.py
hdlmake/sourcefiles/vlog_parser.py
+0
-3
No files found.
hdlmake/sourcefiles/vlog_parser.py
View file @
c894f8f1
...
...
@@ -103,14 +103,11 @@ class VerilogPreprocessor(object):
def
_handle_macros
(
text
):
'''Process text to implement ifdef/ifndef/elsif/else/endif & define logic'''
from
pprint
import
pprint
vpp_match
=
namedtuple
(
'vpp_match'
,
[
'mtext'
,
'pptype'
,
'ppident'
,
'macroident'
,
'ppargs'
,
'ppdefn'
,
'incfile'
,
'substid'
])
vpp_macrodefn
=
namedtuple
(
'vpp_macrodefn'
,
[
'params'
,
'expansion'
])
def
_munge_list
(
flist
):
'''Take the split list & normalize into a list of string literals & seperator matches'''
from
pprint
import
pprint
if
not
flist
:
return
[]
is_match
=
False
# if nothing was present, split inserts an empty element
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment