summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-01-06 22:57:35 +0000
committerRoland McGrath <roland@redhat.com>1993-01-06 22:57:35 +0000
commit99afb91aca61ec243cf8cfe5a970c43190f76254 (patch)
tree274f67b4b918b48f775923a09371b498413ad3be
parent1632e7feb311504a1850b97dcfe2d732adc3f0e8 (diff)
downloadgunmake-99afb91aca61ec243cf8cfe5a970c43190f76254.tar.gz
Formerly function.c.~23~
-rw-r--r--function.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/function.c b/function.c
index ac9a74d..4db0a38 100644
--- a/function.c
+++ b/function.c
@@ -1,5 +1,5 @@
/* Variable function expansion for GNU Make.
-Copyright (C) 1988, 1989, 1991, 1992 Free Software Foundation, Inc.
+Copyright (C) 1988, 1989, 1991, 1992, 1993 Free Software Foundation, Inc.
This file is part of GNU Make.
GNU Make is free software; you can redistribute it and/or modify
@@ -131,7 +131,7 @@ patsubst_expand (o, text, pattern, replace, pattern_percent, replace_percent)
pattern_prepercent_len = pattern_percent - pattern;
pattern_postpercent_len = strlen (pattern_percent + 1);
- while (t = find_next_token (&text, &len))
+ while ((t = find_next_token (&text, &len)) != 0)
{
int fail = 0;
@@ -496,7 +496,7 @@ expand_function (o, function, text, end)
/* Chop TEXT into words and put them in WORDS. */
t = text;
- while (p = find_next_token (&t, &len))
+ while ((p = find_next_token (&t, &len)) != 0)
{
if (wordi >= nwords - 1)
{