version 1.26, 2004/09/16 02:22:03 |
version 1.27, 2004/09/16 23:53:44 |
|
|
/* $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); |
} |
} |