[Github-comments] [geany-plugins] scope: Ignore a false positive from cppcheck (#397)

Colomban Wendling notifications at xxxxx
Thu Mar 10 01:19:53 UTC 2016


FTR, quoting [*ISO/IEC 9899:201x (C11), N1570*](http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf):

> ## 6.5.17 Comma operator
### Syntax
```
	expression:
		assignment-expression
		expression , assignment-expression
```
### Semantics
The left operand of a comma operator is evaluated as a void expression; there is a sequence point between its evaluation and that of the right operand. Then the right operand is evaluated; the result has its type and value. <sup>114)</sup>
>
<small>EXAMPLE As indicated by the syntax, the comma operator (as described in this subclause) cannot appear in contexts where a comma is used to separate items in a list (such as arguments to functions or lists of initializers). On the other hand, it can be used within a parenthesized expression or within the second expression of a conditional operator in such contexts. In the function call
```
	f(a, (t=3, t+2), c)
```
the function has three arguments, the second of which has the value 5.</small>

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/397#issuecomment-194602943
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160309/1ff3ae67/attachment.html>


More information about the Github-comments mailing list