Extension: block expressions


int a = ({ f(); g(); 2; });

Syntax & Semantics

The extension defines a block expression'' as a statement list inside parentheses.  If the last statement in the list is an expression statement, the block expression's value is the value of that expression. Otherwise the block expression is of type ``void.

This operator originated in GNU C.


Not implemented.

Implemented in earlier rscc.