Technical Support

C51: DASHES IN FILENAMES


Information in this article applies to:

  • C51 Version 5.50 and Earlier

QUESTION

I tried to compile a file named FILE-0.C and the C51 compiler generated the following error:

Fatal Error: PARSING INVOKE-/#PRAGMA-LINE UNKNOWN CONTROL

No such error is documented, however it happens whenever you include a dash in the filename. Is there a correction for this problem?

ANSWER

In Version 5.5, there is no fix for this problem. The only solution is to replace the dash ('-') with an underscore or another character. This problem is corrected in C51 Version 6 and later.

Last Reviewed: Thursday, May 12, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure