Fixed issue #1010 that allows statements with commas.

Fixed #1010: compound statements and if/else block confusion

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>