veripool / verilog-perl

Verilog parser, preprocessor, and related tools for the Verilog-Perl package
https://www.veripool.org/verilog-perl
Artistic License 2.0
121 stars 34 forks source link

vrename --change misses escaped name if it is followed a newline for whitespace #1420

Closed veripoolbot closed 5 years ago

veripoolbot commented 5 years ago

Author Name: Kerry Imming Original Redmine Issue: 1420 from https://www.veripool.org

Original Assignee: Wilson Snyder (@wsnyder)


Thank you for the very useful utility.

I found an issue with processing escaped names. Escaped names end with whitespace, which can be a newline. vrename does not recognize the case of a newline. I have a attached a small example. While the strange line breaks certainly not common, they are created by the Cadence netlist writer.

I worked around this issue by appending a space to every line in the verilog file.

veripoolbot commented 5 years ago

Original Redmine Comment Author Name: Wilson Snyder (@wsnyder) Original Date: 2019-05-01T11:39:15Z


Indeed. On testing this also found and fixed some problems with converting escaped to non-escaped and vice-versa.

Fixed in git and 3.464.