mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-19 20:33:39 +00:00
Add precise locations for asserts
This commit is contained in:
parent
ed4fa19ba2
commit
cd82ccd258
2 changed files with 31 additions and 7 deletions
|
@ -1811,6 +1811,7 @@ skip_dynamic_range_lvalue_expansion:;
|
|||
newNode->children.push_back(assign_en);
|
||||
|
||||
AstNode *assertnode = new AstNode(type);
|
||||
assertnode->location = location;
|
||||
assertnode->str = str;
|
||||
assertnode->children.push_back(new AstNode(AST_IDENTIFIER));
|
||||
assertnode->children.push_back(new AstNode(AST_IDENTIFIER));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue