diff options
author | Diego H <diego@symbioticeda.com> | 2020-03-31 12:01:29 -0600 |
---|---|---|
committer | Diego H <diego@symbioticeda.com> | 2020-03-31 12:01:29 -0600 |
commit | c859bcf71bddbcceb36d276221a5eb490ed1cf4c (patch) | |
tree | 60205e11bf29466afff88cf071fa2502a49de2a7 /frontends | |
parent | 92809bb1d3c225ab0c846a55979f6914dcfbd886 (diff) | |
download | yosys-c859bcf71bddbcceb36d276221a5eb490ed1cf4c.tar.gz yosys-c859bcf71bddbcceb36d276221a5eb490ed1cf4c.tar.bz2 yosys-c859bcf71bddbcceb36d276221a5eb490ed1cf4c.zip |
Replacing log_error for log_file_error due consistency
Diffstat (limited to 'frontends')
-rw-r--r-- | frontends/verilog/const2ast.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/frontends/verilog/const2ast.cc b/frontends/verilog/const2ast.cc index 25d257867..230dfadbf 100644 --- a/frontends/verilog/const2ast.cc +++ b/frontends/verilog/const2ast.cc @@ -140,8 +140,7 @@ static void my_strtobin(std::vector<RTLIL::State> &data, const char *str, int le } if (len_in_bits == 0) - log_error("Illegal integer constant size of zero in %s:%d (IEEE 1800-2012, 5.7).\n", - current_filename.c_str(), get_line_num()); + log_file_error(current_filename, get_line_num(), "Illegal integer constant size of zero (IEEE 1800-2012, 5.7).\n"); if (len > len_in_bits) log_warning("Literal has a width of %d bit, but value requires %d bit. (%s:%d)\n", |