shows syntax error when '\' is used in identifer
Status: Beta
Brought to you by:
mballance
I get syntax error when '\' is used in identifiers.
Example:
module \1ff (); // <- '\' used in module name gives syntax error
endmodule
module tb;
wire a;
wire \1w ; // <- this is ok
wire [1:0]\2w ; // <- shows syntax error
wire [2:0] \3w ; // <- shows syntax error
assign a = \1w ; // <- shows syntax error
pullup r1 (\1w ); // <- shows syntax error
endmodule
Thanks for the testcase! After some investigation, it looks like SVEditor's support for escaped identifiers had never been tested. I corrected a couple of small bugs, and your testcase now runs correctly. This fix will be in the 1.5.7 release.
Thanks,
Matthew