Greetings Neal,

These conditions were subsumed into the earlier tests:
   if (boolean && mystrcasecmp(word.get(), "and") == 0)
became
    if (boolean && (mystrcasecmp(word.get(), "+") == 0
      || mystrcasecmp(word.get(), boolean_keywords[AND]) == 0))
and similarly for "-".

To my mind this is clearer, and it also should produce (marginally) 
smaller code.

I hope the porting is going well.  Is it going to change the main Unix 
source, be a patch relative to the main source, or be a stand-alone 
port?

Cheers,
Lachlan

On Thu, 5 Jun 2003 07:54, Neal Richter wrote:

> On 2002/12/30 12:42:59
> These lines were removed new line 550:
>
> else if (boolean && mystrcasecmp(word.get(), "+") == 0)
> tempWords.Add(new WeightWord("&", -1.0));
> else if (boolean && mystrcasecmp(word.get(), "-") == 0)
> tempWords.Add(new WeightWord("!", -1.0));
>
> Any explaination on this particular change?  This looks to
> implement + (required word) and - (exclude word).



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to