• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

A multilingual input method framework


Commit MetaInfo

Revisionaad534611a371a0e9aa778047bfb1ab8010eda6c (tree)
Time2006-07-04 15:09:48
Authorekato <ekato@ff9a...>
Commiterekato

Log Message

* scm/japanese.scm (ja-raw-string-to-valid-roma) : Just add a

sanity check to prevent hang.

Change Summary

Incremental Difference

--- a/scm/japanese.scm
+++ b/scm/japanese.scm
@@ -673,9 +673,11 @@
673673 ;; Should we check matched record from ja-rk-rule?:
674674 ;; (if (hoge-find-rec (string-append head-str next-str))
675675 (let ((next-head (car (reverse (string-to-list next-str)))))
676- (if (or (ja-vowel? next-str)
676+ (if (and
677+ (not (null? next-head))
678+ (or (ja-vowel? next-str)
677679 (string=? "y" next-head)
678- (string=? "n" next-head))
680+ (string=? "n" next-head)))
679681 "nn"
680682 head-str)))
681683 (if (or (null? next-str) (string=? next-str ""))