[previous] 4823 [next] Annotation syntax error.
Annotations

There are two types of annotation syntax. The syntax for location annotations is:


 // PRQA L:<tag-name> [<end-tag-opt>]

And for suppression annotations is:


 // PRQA S [:<tag-name-opt>]  <msg-spec> [<end-tag-opt>]

In some cases it is not possible to determine the exact cause of a failure to read an annotation, and so this general error may occur.

Example:


// PRQA S 100 -                // ERROR, invalid message spec, or location tag

See also:

QA·C Source Code Analyser 8.1.2
© 2013 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index Contents