summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/make/cond.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/cond.c b/usr.bin/make/cond.c
index 1066ae4..6e7a094 100644
--- a/usr.bin/make/cond.c
+++ b/usr.bin/make/cond.c
@@ -628,7 +628,7 @@ CondToken(Boolean doEval)
}
free(string);
if (rhs == condExpr) {
- if (!qt && *cp == ')')
+ if (*cp == '\0' || (!qt && *cp == ')'))
condExpr = cp;
else
condExpr = cp + 1;
OpenPOWER on IntegriCloud