ccodegen: Drop unnecessary comma expressions at end of full expressions
commit1a70c628d08aaf3908e8c76eb39be860744532b8
authorLuca Bruno <lucabru@src.gnome.org>
Tue, 15 Feb 2011 12:50:42 +0000 (15 13:50 +0100)
committerJürg Billeter <j@bitron.ch>
Tue, 15 Feb 2011 13:54:29 +0000 (15 14:54 +0100)
tree7e0f39163f991f4fe613b2eafd572218441238a4
parent4063247914720e2d53149972f31173d50e66103f
ccodegen: Drop unnecessary comma expressions at end of full expressions

With this change object creation expressions that refer to a local
variable and have simple struct initializer will directly emit the
creation expression instead of setting it as C expression.
codegen/valaccodebasemodule.vala