Moderators: misra-c, david ward
- Posts: 2
- Joined: Thu Sep 15, 2011 9:17 am
- Company: Elbt
dose a line of the form
considered a misuse of the comma operator.
meaning, the line is considered as composed of multiple statements in a single line.
if so then what about, just plain
- Posts: 566
- Joined: Thu Jan 05, 2006 1:11 pm
In an list of declarators, the comma is being used as a separator rather than an operator. There are no comma operators in the examples given and therefore no violation of Rule 12.10.
Posted by and on behalf of
the MISRA C Working Group