Keil Logo

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
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.