Stop printing redundant parenthesis in guard statements
commita2cb6de20d34258a8c9d24271dd94ab3916da235
authorTobias Grosser <tobias@grosser.es>
Tue, 30 Aug 2011 16:20:51 +0000 (30 17:20 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 30 Aug 2011 18:48:47 +0000 (30 20:48 +0200)
treec2d173eb1f334286365cad6348986935fd87bd7a
parent37f452c5cdb947bdd7193bd5b0714ddab306eee0
Stop printing redundant parenthesis in guard statements

Conditions like 'if (g2 == 0)' were printed as 'if ((g2 == 0))'. Those
extra parenthesis are only needed if there is more than one comparison
in the if-condition.

Signed-off-by: Tobias Grosser <tobias@grosser.es>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
gpucode.c