mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-20 03:12:05 +00:00
const2ast: prove tests cover error filenames
This commit is contained in:
parent
67f8de54dc
commit
33135da8b2
2 changed files with 3 additions and 3 deletions
|
@ -1342,7 +1342,7 @@ RTLIL::SigSpec AstNode::genRTLIL(int width_hint, bool sign_hint)
|
|||
// be instantiated for this type of AST node.
|
||||
IdString type_name;
|
||||
|
||||
current_filename = filename;
|
||||
// current_filename = filename;
|
||||
|
||||
switch (type)
|
||||
{
|
||||
|
|
|
@ -1036,7 +1036,7 @@ bool AstNode::simplify(bool const_fold, int stage, int width_hint, bool sign_hin
|
|||
return false;
|
||||
}
|
||||
|
||||
current_filename = filename;
|
||||
// current_filename = filename;
|
||||
|
||||
// we do not look inside a task or function
|
||||
// (but as soon as a task or function is instantiated we process the generated AST as usual)
|
||||
|
@ -1844,7 +1844,7 @@ bool AstNode::simplify(bool const_fold, int stage, int width_hint, bool sign_hin
|
|||
current_scope[it->first] = it->second;
|
||||
}
|
||||
|
||||
current_filename = filename;
|
||||
// current_filename = filename;
|
||||
|
||||
if (type == AST_MODULE || type == AST_INTERFACE)
|
||||
current_scope.clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue