projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92809bb
)
Replacing log_error for log_file_error due consistency
author
Diego H
<diego@symbioticeda.com>
Tue, 31 Mar 2020 18:01:29 +0000
(12:01 -0600)
committer
Diego H
<diego@symbioticeda.com>
Tue, 31 Mar 2020 18:01:29 +0000
(12:01 -0600)
frontends/verilog/const2ast.cc
patch
|
blob
|
history
diff --git
a/frontends/verilog/const2ast.cc
b/frontends/verilog/const2ast.cc
index 25d2578675d40c0d035dad7783babe7634c5d439..230dfadbfb240d20ef12831f927c2a93fb3d0593 100644
(file)
--- 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",