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
b8b3ac38
Commit
b8b3ac38
authored
Aug 01, 2019
by
William Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Inherit variables from parent Manifest.py, not just the top Manifest.py
parent
1d1ab3f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
module.py
hdlmake/module/module.py
+3
-2
No files found.
hdlmake/module/module.py
View file @
b8b3ac38
...
...
@@ -118,7 +118,7 @@ PARSE START: %s
if
self
.
parent
is
None
:
extra_context
=
{}
else
:
extra_context
=
dict
(
self
.
top_manifes
t
.
manifest_dict
)
extra_context
=
dict
(
self
.
paren
t
.
manifest_dict
)
extra_context
[
"__manifest"
]
=
self
.
path
# The parse method is where most of the parser action takes place!
...
...
@@ -129,7 +129,8 @@ PARSE START: %s
raise
Exception
(
"Error while parsing {0}:
\n
{1}: {2}."
.
format
(
self
.
path
,
type
(
name_error
),
name_error
))
self
.
manifest_dict
=
opt_map
self
.
manifest_dict
=
extra_context
self
.
manifest_dict
.
update
(
opt_map
)
# Process the parsed manifest_dict to assign the module properties
self
.
process_manifest
()
...
...
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