[BACK]Return to stackmachine.c CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx / Kan

Diff for /OpenXM/src/kan96xx/Kan/stackmachine.c between version 1.26 and 1.27

version 1.26, 2004/09/16 02:22:03 version 1.27, 2004/09/16 23:53:44
Line 1 
Line 1 
 /* $OpenXM: OpenXM/src/kan96xx/Kan/stackmachine.c,v 1.25 2004/09/12 10:22:50 takayama Exp $ */  /* $OpenXM: OpenXM/src/kan96xx/Kan/stackmachine.c,v 1.26 2004/09/16 02:22:03 takayama Exp $ */
 /*   stackmachin.c */  /*   stackmachin.c */
   
 #include <stdio.h>  #include <stdio.h>
Line 292  int putUserDictionary2(str,h0,h1,attr,dic)
Line 292  int putUserDictionary2(str,h0,h1,attr,dic)
   if (SET_ATTR_FOR_ALL_WORDS & attr) {    if (SET_ATTR_FOR_ALL_WORDS & attr) {
     for (i=0; i<USER_DICTIONARY_SIZE; i++) {      for (i=0; i<USER_DICTIONARY_SIZE; i++) {
       if ((dic[i]).key !=EMPTY) (dic[i]).attr = attr&(~SET_ATTR_FOR_ALL_WORDS);        if ((dic[i]).key !=EMPTY) (dic[i]).attr = attr&(~SET_ATTR_FOR_ALL_WORDS);
       }
       return(0);
     }
     if (OR_ATTR_FOR_ALL_WORDS & attr) {
       for (i=0; i<USER_DICTIONARY_SIZE; i++) {
         if ((dic[i]).key !=EMPTY) (dic[i]).attr |= attr&(~OR_ATTR_FOR_ALL_WORDS);
     }      }
     return(0);      return(0);
   }    }

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>