mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-26 10:35:38 +00:00
Merge branch 'zachjs-master'
This commit is contained in:
commit
239ecf9185
3 changed files with 52 additions and 0 deletions
|
@ -3656,6 +3656,8 @@ skip_dynamic_range_lvalue_expansion:;
|
|||
goto apply_newNode;
|
||||
}
|
||||
|
||||
if (current_scope.count(str) == 0)
|
||||
str = try_pop_module_prefix();
|
||||
if (current_scope.count(str) == 0 || current_scope[str]->type != AST_FUNCTION)
|
||||
log_file_error(filename, location.first_line, "Can't resolve function name `%s'.\n", str.c_str());
|
||||
}
|
||||
|
@ -3727,6 +3729,8 @@ skip_dynamic_range_lvalue_expansion:;
|
|||
goto apply_newNode;
|
||||
}
|
||||
|
||||
if (current_scope.count(str) == 0)
|
||||
str = try_pop_module_prefix();
|
||||
if (current_scope.count(str) == 0 || current_scope[str]->type != AST_TASK)
|
||||
log_file_error(filename, location.first_line, "Can't resolve task name `%s'.\n", str.c_str());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue