From 9b0a3d91ea594ff1afe7b8ec83ff41ba828d243b Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sat, 5 Feb 2000 07:37:40 +0000 Subject: * Fix PR/1407. * Keep filename/lineno information for variables, for debugging. --- rule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rule.c') 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; } -- cgit v1.2.3