Indentation goes haywire when using xor (^)
Replies (1)
(1-1/1)
|
Indentation goes haywire when using xor (^)Added by Kaustabh Duorah 6 months ago Whenever I use ^ in my code, the indentation after that goes haywire. I have to make sure that any code is at the end of my file to avoid this.
class abcd extends edfg;
int a;
function new();
super.new();
endfunction // new
function bit [3:0] crc(int b);
bit [3:0[ crc;
crc = a ^ b;
return crc;
endfunction // crc
endclass // abcd
abcd.sv (314 Bytes) Replies (1)RE: Indentation goes haywire when using xor (^) - Added by Brian Cassell about 1 month agoIn your code
bit [3:0[ crc;should really be bit [3:0] crc; then it will line up correctly. (1-1/1) Loading...
|