Changeset 6129


Ignore:
Timestamp:
2003-12-04T17:10:02+13:00 (18 years ago)
Author:
kjdon
Message:

changed var name from near to prox - reserved word?

Location:
trunk
Files:
3 edited

Legend:

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

    r6121 r6129  
    255255  bool phrase=false;
    256256  bool first=true;
    257   bool near = false;
     257  bool prox = false;
    258258  UCArray near_string;
    259259  while (ParseLexEl (here, end, el)) {
     
    268268          termNode.endRange = -1;
    269269        }
    270       } else if (near) {
     270      } else if (prox) {
    271271    SetRangeValues(termNode, near_string, false);
    272     near = false;
     272    prox = false;
    273273      }
    274274      proxNode->terms.push_back(termNode);
     
    294294      } else {
    295295    // its a NEAR or within op
    296     near = true;
     296    prox = true;
    297297    near_string = el.text;
    298298      }
  • trunk/indexers/mgpp/text/GSDLQueryParser.cpp

    r6119 r6129  
    255255  bool phrase=false;
    256256  bool first=true;
    257   bool near = false;
     257  bool prox = false;
    258258  UCArray near_string;
    259259  while (ParseLexEl (here, end, el)) {
     
    268268          termNode.endRange = -1;
    269269        }
    270       } else if (near) {
     270      } else if (prox) {
    271271    SetRangeValues(termNode, near_string, false);
    272     near = false;
     272    prox = false;
    273273      }
    274274      proxNode->terms.push_back(termNode);
     
    294294      } else {
    295295    // its a NEAR or within op
    296     near = true;
     296    prox = true;
    297297    near_string = el.text;
    298298      }
  • trunk/mgpp/text/GSDLQueryParser.cpp

    r6119 r6129  
    255255  bool phrase=false;
    256256  bool first=true;
    257   bool near = false;
     257  bool prox = false;
    258258  UCArray near_string;
    259259  while (ParseLexEl (here, end, el)) {
     
    268268          termNode.endRange = -1;
    269269        }
    270       } else if (near) {
     270      } else if (prox) {
    271271    SetRangeValues(termNode, near_string, false);
    272     near = false;
     272    prox = false;
    273273      }
    274274      proxNode->terms.push_back(termNode);
     
    294294      } else {
    295295    // its a NEAR or within op
    296     near = true;
     296    prox = true;
    297297    near_string = el.text;
    298298      }
Note: See TracChangeset for help on using the changeset viewer.