revise sj_typedef.h
Signed-off-by: SASANO Takayoshi <uaa@uaa.org.uk>
This commit is contained in:
parent
9d9d49ea29
commit
db373a736e
53 changed files with 759 additions and 776 deletions
18
setubi.c
18
setubi.c
|
|
@ -41,7 +41,7 @@
|
|||
#include "sj_hinsi.h"
|
||||
#include "kanakan.h"
|
||||
|
||||
Uchar*
|
||||
u_char*
|
||||
getstb(TypeGram hinsi)
|
||||
{
|
||||
if (hinsi < MEISI_1 || hinsi > TIMEI) return NULL;
|
||||
|
|
@ -51,14 +51,14 @@ getstb(TypeGram hinsi)
|
|||
|
||||
|
||||
void
|
||||
setubi(JREC *rec, Uchar *stbtbl)
|
||||
setubi(JREC *rec, u_char *stbtbl)
|
||||
{
|
||||
Uchar *stb;
|
||||
Uchar *yptr;
|
||||
Uchar *sptr;
|
||||
Int slen;
|
||||
u_char *stb;
|
||||
u_char *yptr;
|
||||
u_char *sptr;
|
||||
int slen;
|
||||
JREC *new;
|
||||
Int cmp;
|
||||
int cmp;
|
||||
|
||||
stb = stbtbl--;
|
||||
|
||||
|
|
@ -75,9 +75,9 @@ setubi(JREC *rec, Uchar *stbtbl)
|
|||
|
||||
if ((cmp != MATCH) || isdpnd(*(yptr + slen))) continue;
|
||||
|
||||
if (!(new = argjrec((Int)(rec -> jlen + slen), rec))) continue;
|
||||
if (!(new = argjrec((int)(rec -> jlen + slen), rec))) continue;
|
||||
|
||||
new -> stbofs = (Uchar)(stb - stbtbl);
|
||||
new -> stbofs = (u_char)(stb - stbtbl);
|
||||
new -> flags |= StbBakeru(stb) ? JFLAG_KA : 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue