Parser-Verilog icon indicating copy to clipboard operation
Parser-Verilog copied to clipboard

escaped name that ends at end of line fails

Open sjs-dogsrule opened this issue 3 years ago • 0 comments
trafficstars

If I have this structure, where the escaped name is the last item on the line. wire \n_12 , \n_13 , \n_14 , \n_15 ;

I will get: Failed to match :
Parser error: syntax error, unexpected end of file, expecting NAME or ESCAPED_NAME

The synthesis programs I use sometimes create the above structure.

If the line had the comma at the end, then it reads ok. wire \n_12 , \n_13 , \n_14 , \n_15 ;

sjs-dogsrule avatar Oct 05 '22 03:10 sjs-dogsrule