Ignore:
Timestamp:
2001-05-24T17:06:48+12:00 (23 years ago)
Author:
sjboddie
Message:

Fiddled about with mgpp to get it compiling on Windows under VC++ 6.0. I
still can't get it to compile under VC++ 4.2 because of some weird
behaviour in STLport.

Also tidied up a little and removed some of the old log information
that was scattered about in some of the files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/mgpp/text/GSDLQueryParser.cpp

    r1770 r2468  
    1717 * along with this program; if not, write to the Free Software
    1818 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    19  *
    20  * $Id$
    2119 *
    2220 **************************************************************************/
     
    9492// default is within 20 words
    9593static void SetRangeValues (TermNode &termNode,
    96                 UCArray &near) {
    97   UCArray NEAR; SetCStr(NEAR, "NEAR");
    98   if (near == NEAR) { // no modifier
     94                UCArray &nearby) {
     95  UCArray NEARBY; SetCStr(NEARBY, "NEAR");
     96  if (nearby == NEARBY) { // no modifier
    9997    termNode.startRange = -21;
    10098    termNode.endRange = 20;
    10199  }
    102100  else { // extract number
    103     UCArray::const_iterator here = near.begin()+4;
    104     UCArray::const_iterator end = near.end();
     101    UCArray::const_iterator here = nearby.begin()+4;
     102    UCArray::const_iterator end = nearby.end();
    105103    int size=0;
    106104    while (here != end) {
     
    112110    termNode.endRange = size;
    113111  }
    114 
    115 
    116 }
     112}
     113
    117114static unsigned long GetStemMethod(LexEl &el, int defaultStemMethod) {
    118115  // here expect el to contain some of c,s,i,u
Note: See TracChangeset for help on using the changeset viewer.