[previous] 2210 [next] Tab character encountered in this line.
Bracing and Indentation

A horizontal tab character has been encountered in this line.

Tab characters are recognised as part of the basic character set in the C language. However, many coding standards recommend that they should be avoided because they can be interpreted in different ways by different tools and result in inconsistent indentation.

The "-tab" option allows a tab position to be interpreted as a specified number of spaces; the default setting is 8 spaces. (This has nothing to do with indentation; indentation is enforced using the -indentlevel option.) Message 2210 will only be generated when the -tab option has been set to zero. It will identify the first instance of a tab character in any physical line of source code.

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