From: handa Date: Thu, 11 Jun 2009 04:57:19 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=2d755fa02471fd07ce009f9caf5789583a72e7ec;p=m17n%2Fm17n-lib-cs.git *** empty log message *** --- diff --git a/MPlist.cs b/MPlist.cs index 5b5cd5f..3c9b140 100644 --- a/MPlist.cs +++ b/MPlist.cs @@ -392,7 +392,7 @@ namespace M17N.Core hexadecimal[i] = hexadecimal[i + 'a' - 'A'] = i -'A' + 10; } - internal int PeekChar () + private int PeekChar () { bool comment = false; int c; @@ -416,7 +416,7 @@ namespace M17N.Core return c; } - internal int ReadHexadecimal () + private int ReadHexadecimal () { int i = 0, c; @@ -428,7 +428,7 @@ namespace M17N.Core return i; } - internal int ReadInteger () + private int ReadInteger () { int i = 0, c; @@ -437,7 +437,7 @@ namespace M17N.Core return i; } - internal int ReadChar () + private int ReadChar () { int c = Read (); @@ -454,7 +454,7 @@ namespace M17N.Core return c; } - internal MText ReadMtext () + private MText ReadMtext () { MText mt = new MText (); int c; @@ -484,7 +484,7 @@ namespace M17N.Core return mt; } - internal string ReadSymbolName () + private string ReadSymbolName () { int c = Peek (); @@ -500,7 +500,7 @@ namespace M17N.Core return (char) c + ReadSymbolName (); } - internal bool ReadElement (out MSymbol key, out object val) + public bool ReadElement (out MSymbol key, out object val) { int c = PeekChar (); @@ -558,9 +558,7 @@ namespace M17N.Core } else { - string str = ReadSymbolName (); - - val = MSymbol.Of ("#" + (char) c + str); + val = MSymbol.Of ("#" + (char) c + ReadSymbolName ()); key = MSymbol.symbol; } }