![]() |
![]() |
0249 | ![]() |
||||
![]() | |||||||
| Syntax errors | REFERENCE - ISO:C90-6.1.3.4 Character Constants - Syntax | ||||||
This character constant contains a new-line character. A character constant may contain any member of the source character set except the single-quote ', the backslash \ , or the new-line character; these characters have to be represented using an escape sequence:
'\'', '\\' or '\n'.
/*PRQA S 2017,3123,3211,3408,3625 ++*/
char nla = '\n'; /* OK - newline escape sequence */
char nlb = ' /* Message 0249 */
;
![]() | ||
| QA·C Source Code Analyser 8.1.2
© 2013 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | Contents |