Import sj3-patches-20040916
Signed-off-by: Masanori Ogino <mogino@acm.org>
This commit is contained in:
parent
381c676eda
commit
a76f53bc03
78 changed files with 3433 additions and 3852 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue