Ignore:
Timestamp:
2007-01-17T12:15:46+13:00 (17 years ago)
Author:
kjdon
Message:

added some comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/packages/mg/src/text/mg_stem_idx.c

    r3745 r13661  
    416416        prevPE->num_cases++;
    417417
    418       else
     418      else 
    419419        {
    420420          /* Search the idx hash table for word */
     
    480480              IdxHashTable[hashval] = idx_ent;
    481481              break;
    482             }
     482            } /* if (!idx_ent) */
    483483         
    484484          /* Compare the words */
     
    510510              break;
    511511            }
    512         }      
    513         }
     512        } /* for (;;) */
     513        } /* else (the word does not follow on from previous one) */
    514514
    515515      if (IdxHashUsed >= IdxHashSize >> 1)
     
    686686        FatalError (1, "Block size to small");
    687687
    688     }
     688    } /* if size > block_size */
    689689
    690690      if (word_num % sih.lookback == 0)
     
    726726    FatalError (1, "Fatal Internal Error # 64209258\n");
    727727
    728       if (word_num == 0)
     728      if (word_num == 0) /* the first word in each block - word_num set to 0 when buffer written to tmp file */
    729729    {
    730730      /* Write word to main index */
     
    737737    }
    738738      word_num++;
    739     } /* end for each word */
     739    } /* end for each word */ /* for each hash entry */
    740740
    741741  if (buf_in_use)
Note: See TracChangeset for help on using the changeset viewer.