XST (new parser) reports the following error in HDL Parsing:
XST (classic parser) reports the following error in HDL Parsing:
The Project Navigator hierarchy parser reports the following error:
The cause of this issue is that there is a non-graphic character (0x0) in the file.
This is not visible in one text editor.
Open the file in hexadecimal format, and delete the non-graphic characters in the file.
Alternatively, edit the file in ISE Text Editor, and save it.
This will resolve the issue.