Normalize romanized identifiers to Hepburn

This commit is contained in:
Nishi 2026-06-18 13:53:25 +09:00
commit 787febbd07
72 changed files with 871 additions and 871 deletions

View file

@ -29,7 +29,7 @@
#include "sj_kcnv.h"
#include "sj_right.h"
#include "sj_hinsi.h"
#include "sj_hinshi.h"
#include "sj_yomi.h"
#include "kanakan.h"
@ -70,10 +70,10 @@ cnjstrcmp(unsigned char* yptr, unsigned char* cnjp, int* saml) {
static TypeCnct
cnvrow(JREC* rec, TypeCnct row) {
TypeGram hinsi;
TypeGram hinshi;
int stt;
hinsi = rec->hinsi;
hinshi = rec->hinshi;
if((stt = rec->sttofs) == SETTOU_O) {
@ -83,8 +83,8 @@ cnvrow(JREC* rec, TypeCnct row) {
else if(R_RENYOU3 <= row && row <= R_SA5RENYOU3)
row += 3;
else if((hinsi >= KEIYOUSI_1 && hinsi <= KE_DOUSI_9) ||
(hinsi == MEISI_5) || (hinsi == MEISI_9))
else if((hinshi >= KEIYOUSHI_1 && hinshi <= KE_DOUSHI_9) ||
(hinshi == MEISHI_5) || (hinshi == MEISHI_9))
;
else
@ -93,14 +93,14 @@ cnvrow(JREC* rec, TypeCnct row) {
else if(stt == SETTOU_GO) {
if(hinsi == MEISI_7 && row == R_SMEISI1)
if(hinshi == MEISHI_7 && row == R_SMEISHI1)
row++;
}
return row;
}
int setconj(TypeGram hinsi, JREC* jrec, CREC* crec) {
int setconj(TypeGram hinshi, JREC* jrec, CREC* crec) {
unsigned char* yptr;
int cmp;
TypeCnct right;
@ -109,7 +109,7 @@ int setconj(TypeGram hinsi, JREC* jrec, CREC* crec) {
int count = 0;
unsigned char* cnj;
if((cnj = Conjadr(hinsi)) != NULL) {
if((cnj = Conjadr(hinshi)) != NULL) {
saml = ofslen = 0;
yptr = cnvstart + jrec->jlen;