issue146 verilog escaped nanes end in \n
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
a06c4fc7ac
commit
96b7e08afb
|
|
@ -180,7 +180,7 @@ verilogToSta(const char *verilog_name)
|
|||
// Ignore leading '\'.
|
||||
verilog_name = &verilog_name[1];
|
||||
size_t verilog_name_length = strlen(verilog_name);
|
||||
if (verilog_name[verilog_name_length - 1] == ' ')
|
||||
if (isspace(verilog_name[verilog_name_length - 1]))
|
||||
verilog_name_length--;
|
||||
string sta_name;
|
||||
for (size_t i = 0; i < verilog_name_length; i++) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue