diff options
author | Paul Smith <psmith@gnu.org> | 2000-02-05 07:37:40 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2000-02-05 07:37:40 +0000 |
commit | 9b0a3d91ea594ff1afe7b8ec83ff41ba828d243b (patch) | |
tree | b35695ad78c82d25f7e60d4c93880394a2a970b3 /rule.c | |
parent | 95a09e94f7b4155913cb4b1a0e6c1576780f09d1 (diff) | |
download | gunmake-9b0a3d91ea594ff1afe7b8ec83ff41ba828d243b.tar.gz |
* Fix PR/1407.
* Keep filename/lineno information for variables, for debugging.
Diffstat (limited to 'rule.c')
-rw-r--r-- | rule.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |