Port position macros shouldn't require enclosing braces
authorMichael Gran <spk121@yahoo.com>
Sun, 9 Aug 2009 22:58:49 +0000 (15:58 -0700)
committerMichael Gran <spk121@yahoo.com>
Sun, 9 Aug 2009 23:58:14 +0000 (16:58 -0700)
commitb07992900bef24596532018d7939384f8632cd0f
tree0d3cbea690dd0ffb6cbf7858b3fb6ac19c1cc6a3
parent9af080f7206dccffb91409529fff74e6554f2385
Port position macros shouldn't require enclosing braces

The port position macros incorrectly required enclosing braces
when used within if statements.

        * libguile/ports.h (SCM_INCLINE, SCM_ZEROCOL, SCM_INCCOL)
        (SCM_DECCOL, SCM_TABCOL): enclose macro in do/while

        * libguile/ports.c (update_port_lf): remove extra braces
libguile/ports.c
libguile/ports.h