diff options
author | litghost <537074+litghost@users.noreply.github.com> | 2018-08-03 08:02:49 -0700 |
---|---|---|
committer | litghost <537074+litghost@users.noreply.github.com> | 2018-08-03 08:05:45 -0700 |
commit | 475c2af8120199f0acaa02e6e0993b27a553b22f (patch) | |
tree | 85b7d151db238b1b5c1344354de3d6ed45289ebc /frontends/blif | |
parent | f42d6a9c93f8bd456bf5e857dc67f19e3b10ab25 (diff) | |
download | yosys-475c2af8120199f0acaa02e6e0993b27a553b22f.tar.gz yosys-475c2af8120199f0acaa02e6e0993b27a553b22f.tar.bz2 yosys-475c2af8120199f0acaa02e6e0993b27a553b22f.zip |
Use log_warning which does not immediately terminate.
Diffstat (limited to 'frontends/blif')
-rw-r--r-- | frontends/blif/blifparse.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontends/blif/blifparse.cc b/frontends/blif/blifparse.cc index e2be61da8..1d4cf39a8 100644 --- a/frontends/blif/blifparse.cc +++ b/frontends/blif/blifparse.cc @@ -275,7 +275,7 @@ void parse_blif(RTLIL::Design *design, std::istream &f, std::string dff_name, bo if(lastcell == nullptr || module == nullptr) { - log_error("No primative object to attach .cname %s.\n", p); + log_warning("No primative object to attach .cname %s.\n", p); goto error; } @@ -301,13 +301,13 @@ void parse_blif(RTLIL::Design *design, std::istream &f, std::string dff_name, bo } if (!strcmp(cmd, ".attr")) { if (obj_attributes == nullptr) { - log_error("No object to attach .attr too.\n"); + log_warning("No object to attach .attr too.\n"); goto error; } (*obj_attributes)[id_n] = const_v; } else { if (obj_parameters == nullptr) { - log_error("No object to attach .param too.\n"); + log_warning("No object to attach .param too.\n"); goto error; } (*obj_parameters)[id_n] = const_v; |