Keil Logo

µVISION: Dynamic Syntax Checking not working


Information in this knowledgebase article applies to:

  • MDK-ARM version 4.70 and newer

SYMPTOM

I have checked Edit - Configuration - Text Completion - Dynamic Syntax Checking - Enable and for most files, it works. But in some files, Dynamic Syntax Checking does not work properly. What is the reason for this?

CAUSE

In the most common case, the syntax checker was not able to open an include file, which is referenced by the currently edited source module. In that case, further syntax checking is stopped, because the 'not found' include file most likely contains required definitions, which would result in numerous, irrelevant errors.

The line with the missing include file is marked with an error in the editor. You see this when scrolling to that line. Or you can also open the View - Error List Window to display this error.

RESOLUTION

Make the missing include file available so that the syntax checking will not stop at this point and continue with checking the rest of the module.

If the issue persists, edit the file UVCC.ini to ignore specific lines of code or whole source files. The top of UVCC.ini includes instructions on how to edit this file. This works well for unsupported source code in a C/C++ file, for example, embedded assembly code.

MORE INFORMATION

Last Reviewed: Friday, February 24, 2017


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.