Changeset 9616


Ignore:
Timestamp:
2005-04-11T10:30:02+12:00 (19 years ago)
Author:
kjdon
Message:
changed | to
in GetStemMethod if statements
Location:
trunk
Files:
3 edited

Legend:

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

    r9611 r9616  
    153153
    154154  unsigned char c1 = *here;
    155   if (!(c1 == 'c'| c1 == 'i' | c1 == 'u' | c1 == 's'))
     155  if (!(c1 == 'c'|| c1 == 'i' || c1 == 'u' || c1 == 's'))
    156156    return 4; // incorrect format
    157157 
     
    160160  if (here !=end) {
    161161    c2 = *here;
    162     if (!(c2 == 'c'| c2 == 'i' | c2 == 'u' | c2 == 's'))
     162    if (!(c2 == 'c'|| c2 == 'i' || c2 == 'u' || c2 == 's'))
    163163      return 4; // incorrect format
    164164  }
  • trunk/indexers/mgpp/text/GSDLQueryParser.cpp

    r9613 r9616  
    153153
    154154  unsigned char c1 = *here;
    155   if (!(c1 == 'c'| c1 == 'i' | c1 == 'u' | c1 == 's'))
     155  if (!(c1 == 'c'|| c1 == 'i' || c1 == 'u' || c1 == 's'))
    156156    return 4; // incorrect format
    157157 
     
    160160  if (here !=end) {
    161161    c2 = *here;
    162     if (!(c2 == 'c'| c2 == 'i' | c2 == 'u' | c2 == 's'))
     162    if (!(c2 == 'c'|| c2 == 'i' || c2 == 'u' || c2 == 's'))
    163163      return 4; // incorrect format
    164164  }
  • trunk/mgpp/text/GSDLQueryParser.cpp

    r9613 r9616  
    153153
    154154  unsigned char c1 = *here;
    155   if (!(c1 == 'c'| c1 == 'i' | c1 == 'u' | c1 == 's'))
     155  if (!(c1 == 'c'|| c1 == 'i' || c1 == 'u' || c1 == 's'))
    156156    return 4; // incorrect format
    157157 
     
    160160  if (here !=end) {
    161161    c2 = *here;
    162     if (!(c2 == 'c'| c2 == 'i' | c2 == 'u' | c2 == 's'))
     162    if (!(c2 == 'c'|| c2 == 'i' || c2 == 'u' || c2 == 's'))
    163163      return 4; // incorrect format
    164164  }
Note: See TracChangeset for help on using the changeset viewer.