summaryrefslogtreecommitdiff
path: root/rule.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2000-02-05 07:37:40 +0000
committerPaul Smith <psmith@gnu.org>2000-02-05 07:37:40 +0000
commit9b0a3d91ea594ff1afe7b8ec83ff41ba828d243b (patch)
treeb35695ad78c82d25f7e60d4c93880394a2a970b3 /rule.c
parent95a09e94f7b4155913cb4b1a0e6c1576780f09d1 (diff)
downloadgunmake-9b0a3d91ea594ff1afe7b8ec83ff41ba828d243b.tar.gz
* Fix PR/1407.
* Keep filename/lineno information for variables, for debugging.
Diffstat (limited to 'rule.c')
-rw-r--r--rule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rule.c b/rule.c
index 5933777..2b4456e 100644
--- a/rule.c
+++ b/rule.c
@@ -607,12 +607,12 @@ lookup_pattern_var (target)
continue;
/* Compare the text in the pattern after the stem, if any.
- We could test simply use streq, but this way we compare the
+ We could test simply using streq, but this way we compare the
first two characters immediately. This saves time in the very
common case where the first character matches because it is a
period. */
if (*p->suffix == stem[stemlen]
- && (*p->suffix == '\0'|| streq (&p->suffix[1], &stem[stemlen+1])))
+ && (*p->suffix == '\0' || streq (&p->suffix[1], &stem[stemlen+1])))
break;
}