[previous] 4822 [next] Tag name is expected.
Annotations

An annotation tag is optional for suppression annotations, and required for location annotations. The annotation tag is specified after the ':' in the annotation.

Example:


// PRQA S:S1 100        // Annotation tag 'S1'
// PRQA L:L1            // Annotation tag 'L1'

If a ':' is specified in a suppression annotation, and for all location annotations the name after the ':' in the annotation must specify a valid annotation tag.

Example:


// PRQA L:123           // ERROR: Expected a tag name which begins with a letter.
// PRQA S:123           // ERROR: Expected a tag name which begins with a letter.

See also:

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