This error occurs if you used incorrect syntax at the specified line number when you created or edited the specified Memory Initialization File (.mif) or Hexadecimal (Intel-Format) File (.hex) outside the Quartus® II software.
You may see this error beginning with the Quartus II software version 6.1 for designs that contain a user-edited Memory Initialization File (.mif) file that compiles successfully in earlier versions of the Quartus II software. Such files contain illegal syntax and cannot be processed by the Quartus II software. Previous versions of the software generate a warning message instead of an error message, and use zeros for the memory initialization data instead of the data in the file.
To avoid the problem, correct the file syntax using the syntax description in the Quartus II help, or create a new .mif file using the Quartus II software.