aboutsummaryrefslogtreecommitdiffstats
path: root/lcc/cpp/tokens.c
diff options
context:
space:
mode:
Diffstat (limited to 'lcc/cpp/tokens.c')
-rw-r--r--lcc/cpp/tokens.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lcc/cpp/tokens.c b/lcc/cpp/tokens.c
index ebbd186..147569b 100644
--- a/lcc/cpp/tokens.c
+++ b/lcc/cpp/tokens.c
@@ -154,14 +154,14 @@ makespace(Tokenrow *trp)
return;
if (tp->wslen) {
if (tp->flag&XPWS
- && (wstab[tp->type] || trp->tp>trp->bp && wstab[(tp-1)->type])) {
+ && (wstab[tp->type] || (trp->tp>trp->bp && wstab[(tp-1)->type]))) {
tp->wslen = 0;
return;
}
tp->t[-1] = ' ';
return;
}
- if (wstab[tp->type] || trp->tp>trp->bp && wstab[(tp-1)->type])
+ if (wstab[tp->type] || (trp->tp>trp->bp && wstab[(tp-1)->type]))
return;
tt = newstring(tp->t, tp->len, 1);
*tt++ = ' ';