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
7429cb98
Commit
7429cb98
authored
Mar 05, 2020
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vhdl_parser: remove unused variable.
parent
9c3a2375
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
vhdl_parser.py
hdlmake/sourcefiles/vhdl_parser.py
+0
-2
No files found.
hdlmake/sourcefiles/vhdl_parser.py
View file @
7429cb98
...
...
@@ -217,7 +217,6 @@ class VHDLParser(DepParser):
buf
=
re
.
sub
(
function_pattern
,
do_function
,
buf
)
# instantiations
libraries
=
set
([
dep_file
.
library
])
instance_pattern
=
re
.
compile
(
r"^\s*(?P<LABEL>\w+)\s*:"
r"\s*(?:entity\s+(?P<LIB>\w+)\.)?(?P<ENTITY>\w+)"
...
...
@@ -251,7 +250,6 @@ class VHDLParser(DepParser):
matches as indexed plain strings. It adds the used libraries
to the file's 'library' property"""
logging
.
debug
(
"use library
%
s"
,
text
.
group
(
1
))
libraries
.
add
(
text
.
group
(
1
))
return
"<hdlmake library
%
s>"
%
text
.
group
(
1
)
buf
=
re
.
sub
(
library_pattern
,
do_library
,
buf
)
# logging.debug("\n" + buf) # print modified buffer.
...
...
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