From: handa Date: Wed, 7 Oct 2009 14:52:02 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=1c07dc79ab4693a924b552419678a35575122777;p=m17n%2Fm17n-lib-cs.git *** empty log message *** --- diff --git a/MInputMethod.cs b/MInputMethod.cs index 6091f14..05e0c48 100644 --- a/MInputMethod.cs +++ b/MInputMethod.cs @@ -999,7 +999,7 @@ namespace M17N.Input internal class Map { public MSymbol name; - public List entries; + public List entries = new List (); public Map (MSymbol name) { this.name = name; } @@ -1108,7 +1108,7 @@ namespace M17N.Input public Xex.Symbol name; public MText title; public Xex.Term[] enter_actions, fallback_actions; - public Keymap keymap; + public Keymap keymap = new Keymap (); public State (Xex.Symbol name, MText title) { @@ -1466,6 +1466,8 @@ namespace M17N.Input private static void transform (MPlist plist) { + return; +#if false for (; ! plist.IsEmpty; plist = plist.next) { if (plist.IsMText) @@ -1582,6 +1584,7 @@ namespace M17N.Input } } } +#endif } private static MText parse_description (MPlist plist) @@ -2325,8 +2328,10 @@ namespace M17N.Input foreach (KeyValuePair kv in maps) str += " " + kv.Value; str += ") (states"; - foreach (Xex.Symbol name in states.Keys) - str += " " + name; + foreach (KeyValuePair kv in states) + { + str += " (" + kv.Key + " " + kv.Value.keymap + ")"; + } return str + "))"; }