src/Pure/General/symbol.scala
changeset 55430 8eb6c740ec1a
parent 55033 8e8243975860
child 55497 c0f8aebfb43d
--- a/src/Pure/General/symbol.scala	Tue Feb 11 15:05:13 2014 +0100
+++ b/src/Pure/General/symbol.scala	Tue Feb 11 15:55:05 2014 +0100
@@ -118,8 +118,8 @@
 
   final class Index private(text: CharSequence)
   {
-    sealed case class Entry(chr: Int, sym: Int)
-    val index: Array[Entry] =
+    private sealed case class Entry(chr: Int, sym: Int)
+    private val index: Array[Entry] =
     {
       val matcher = new Matcher(text)
       val buf = new mutable.ArrayBuffer[Entry]
@@ -133,6 +133,7 @@
       }
       buf.toArray
     }
+
     def decode(sym1: Int): Int =
     {
       val sym = sym1 - 1