Import sj3-patches-20040916

Signed-off-by: Masanori Ogino <mogino@acm.org>
This commit is contained in:
Masanori Ogino 2023-11-27 11:34:52 +09:00
commit a76f53bc03
78 changed files with 3433 additions and 3852 deletions

View file

@ -31,35 +31,31 @@
* $SonyRCSfile: skipkstr.c,v $
* $SonyRevision: 1.1 $
* $SonyDate: 1994/06/03 08:02:25 $
*
* $Id$
*/
#include "sj_euc.h"
#include "sj_rename.h"
#include "sj_typedef.h"
#include "sj_const.h"
#include "sj_dict.h"
#include "sj_table.h"
#include "kanakan.h"
Int codesize();
Uchar *skipkstr(ptr)
Reg1 Uchar *ptr;
u_char*
skipkstr(u_char* ptr)
{
Reg2 Int contf = TRUE, csize;
int contf = TRUE, csize;
do {
csize = codesize(*ptr);
if (ptr[csize] == KanjiStrEnd) contf = FALSE;
ptr += csize;
} while (contf);
ptr++;
return ptr;
}