Closed imgod2u closed 3 years ago
Following up on the closed issue here:
https://github.com/veripool/verilog-mode/issues/1077
I attempted the suggested solution but in simplified form:
.\(.*\) (@"(verilog-replace-regexp \\"\(.*\)M0\\" \\"srcinst_\1\\" (downcase vl-name))"),
Basically take out the "M0" portion and prepend "srcinst_".
However, I get the following failure when evaluating the AUTO_TEMPLATE:
Invalid use of ‘\’ in replacement text
I'm not familiar enough with the plethora of escapes that are going on to properly debug. Could someone help?
See #1077. In a @ lisp template, each quote needs a double backslash, and backslash any other backslash (double the other backslashes).
Following up on the closed issue here:
https://github.com/veripool/verilog-mode/issues/1077
I attempted the suggested solution but in simplified form:
Basically take out the "M0" portion and prepend "srcinst_".
However, I get the following failure when evaluating the AUTO_TEMPLATE:
I'm not familiar enough with the plethora of escapes that are going on to properly debug. Could someone help?