Fix precedence of semicolon and for/while loops.