diff options
author | N. Engelhardt <nak@symbioticeda.com> | 2020-03-19 13:12:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-19 13:12:18 +0100 |
commit | b473264a060c96347e787aeb93557e320ef4b747 (patch) | |
tree | d918356bbc278a0fce3672d8088057f69a87a9b6 /frontends/ast/simplify.cc | |
parent | 0cbf10236485fb4468e527225dd869be5f0cb01f (diff) | |
parent | cd82ccd2581f93b17e2de017b7a2504d7733f2df (diff) | |
download | yosys-b473264a060c96347e787aeb93557e320ef4b747.tar.gz yosys-b473264a060c96347e787aeb93557e320ef4b747.tar.bz2 yosys-b473264a060c96347e787aeb93557e320ef4b747.zip |
Merge pull request #1775 from huaixv/asserts_locations
Add precise locations for asserts
Diffstat (limited to 'frontends/ast/simplify.cc')
-rw-r--r-- | frontends/ast/simplify.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/frontends/ast/simplify.cc b/frontends/ast/simplify.cc index 04c02d893..2fbadcdad 100644 --- a/frontends/ast/simplify.cc +++ b/frontends/ast/simplify.cc @@ -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)); |